pub struct StreamKeeper { /* private fields */ }Expand description
!Send half of a split PlaybackHandle. Owns the cpal::Stream.
Must stay on the thread that called start_playback_lockfree, OR be
Box::leak’d if you need cross-thread reconnect.
Drop this to stop the audio device. The stream cannot be extracted.
Trait Implementations§
Source§impl Drop for StreamKeeper
impl Drop for StreamKeeper
Auto Trait Implementations§
impl !RefUnwindSafe for StreamKeeper
impl !Send for StreamKeeper
impl !Sync for StreamKeeper
impl !UnwindSafe for StreamKeeper
impl Freeze for StreamKeeper
impl Unpin for StreamKeeper
impl UnsafeUnpin for StreamKeeper
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