enum UnixCaptureStreamState {
Stopped,
Starting,
Started(Box<dyn AsyncCaptureBufferStream>),
StartFailed(NoopCaptureStream),
}Expand description
State of the host capture stream owned by UnixBufferReader.
Variants§
Stopped
No host capture stream. This is the initial state and the state after stop().
Starting
start() was called. The host capture stream is created on the next capture period.
Started(Box<dyn AsyncCaptureBufferStream>)
The host capture stream is open.
StartFailed(NoopCaptureStream)
Creating the host capture stream failed. Paced silence is returned until stop().
Auto Trait Implementations§
impl Freeze for UnixCaptureStreamState
impl !RefUnwindSafe for UnixCaptureStreamState
impl Send for UnixCaptureStreamState
impl !Sync for UnixCaptureStreamState
impl Unpin for UnixCaptureStreamState
impl !UnwindSafe for UnixCaptureStreamState
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