pub struct RecordingWaker(/* private fields */);Available on crate feature
silero and non-target_family=wasm only.Expand description
A window onto a recording, readable while capture is still writing it.
One reader; RecordingReader::fork adds another.
The window holds what this reader has collected and not yet released. Audio is addressed by stream position — counted from the first sample capture ever appended — so a position keeps meaning what it meant after a release moves the window forward. Wakes a recording’s waiting readers, so a reader waiting for audio notices whatever else it waits for.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RecordingWaker
impl RefUnwindSafe for RecordingWaker
impl Send for RecordingWaker
impl Sync for RecordingWaker
impl Unpin for RecordingWaker
impl UnsafeUnpin for RecordingWaker
impl UnwindSafe for RecordingWaker
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