pub struct PulseStream { /* private fields */ }Trait Implementations§
Source§impl AudioStreamBackend for PulseStream
impl AudioStreamBackend for PulseStream
fn format(&self) -> &Arc<Format> ⓘ
fn trace(&self) -> Option<&Arc<Trace>>
fn control_handle(&self) -> ControlHandle
fn default_cancel(&self) -> Cancellation
fn end_reason(&self) -> Option<EndReason>
fn read_with_cancel( &mut self, frames: usize, timeout: Duration, cancel: Cancellation, ) -> Result<ReadResult, ReadError>
fn read_into_with_cancel( &mut self, destination: &mut [u8], frames: usize, timeout: Duration, cancel: Cancellation, ) -> Result<ReadResult, ReadError>
fn stop(&self, mode: Stop)
fn resources_done(&self) -> bool
fn wait_cleanup(&self, timeout: Duration) -> bool
fn read( &mut self, frames: usize, timeout: Duration, ) -> Result<ReadResult, ReadError>
fn read_into( &mut self, destination: &mut [u8], frames: usize, timeout: Duration, ) -> Result<ReadResult, ReadError>
Source§impl Drop for PulseStream
impl Drop for PulseStream
Auto Trait Implementations§
impl !Freeze for PulseStream
impl RefUnwindSafe for PulseStream
impl Send for PulseStream
impl Sync for PulseStream
impl Unpin for PulseStream
impl UnsafeUnpin for PulseStream
impl UnwindSafe for PulseStream
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more