pub(crate) struct Shared {
pub(crate) inner: Arc<Inner>,
pub(crate) thread: Mutex<Option<JoinHandle<()>>>,
}Expand description
Per-AudioCapture shared handle: the lock-free Inner state plus the
lifecycle-locked join handle for the capture thread.
Fields§
§inner: Arc<Inner>§thread: Mutex<Option<JoinHandle<()>>>Lifecycle lock: serializes take/join/reassign of the capture thread’s handle.
Auto Trait Implementations§
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