pub enum SamplerState {
Sampled,
Stopped,
}Expand description
The state of a continuously running sampler. While it reflects the progress of a sampler, it also signals what should be done next. For example, if the sampler has stopped then the PDM implementation can then tear down its infrastructure
Variants§
Sampled
The sampler processed the samples and is ready for more
Stopped
The sampler is done processing samples
Trait Implementations§
Source§impl PartialEq for SamplerState
impl PartialEq for SamplerState
impl StructuralPartialEq for SamplerState
Auto Trait Implementations§
impl Freeze for SamplerState
impl RefUnwindSafe for SamplerState
impl Send for SamplerState
impl Sync for SamplerState
impl Unpin for SamplerState
impl UnsafeUnpin for SamplerState
impl UnwindSafe for SamplerState
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