pub struct StreamWorker { /* private fields */ }Expand description
Handle to a dedicated AudioTap consumer thread spawned by
AudioTap::spawn_worker. Dropping it asks the thread to stop and
joins it, so the worker’s lifetime is tied to whatever owns the handle
(typically a #[skip] field alongside the tap).
Trait Implementations§
Source§impl Drop for StreamWorker
impl Drop for StreamWorker
Auto Trait Implementations§
impl !RefUnwindSafe for StreamWorker
impl !UnwindSafe for StreamWorker
impl Freeze for StreamWorker
impl Send for StreamWorker
impl Sync for StreamWorker
impl Unpin for StreamWorker
impl UnsafeUnpin for StreamWorker
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