#[non_exhaustive]pub enum CaptureStageClock {
ThreadCpu,
Wall,
}Expand description
The clock the audio pipeline times the noise removal stage by
(NoiseRemovalState::capture_stage_clock).
Its JSON is "thread_cpu" or "wall". More may come in a later version.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
ThreadCpu
The processing thread’s own CPU time: time the device spends on other threads while the stage waits does not count.
Wall
The wall clock: everything between a block’s start and end counts.
Implementations§
Trait Implementations§
Source§impl Clone for CaptureStageClock
impl Clone for CaptureStageClock
impl Copy for CaptureStageClock
Source§impl Debug for CaptureStageClock
impl Debug for CaptureStageClock
Source§impl<'de> Deserialize<'de> for CaptureStageClock
impl<'de> Deserialize<'de> for CaptureStageClock
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CaptureStageClock
impl Display for CaptureStageClock
impl Eq for CaptureStageClock
Source§impl Hash for CaptureStageClock
impl Hash for CaptureStageClock
Source§impl PartialEq for CaptureStageClock
impl PartialEq for CaptureStageClock
Source§impl Serialize for CaptureStageClock
impl Serialize for CaptureStageClock
impl StructuralPartialEq for CaptureStageClock
Auto Trait Implementations§
impl Forget for CaptureStageClock
impl Freeze for CaptureStageClock
impl Move for CaptureStageClock
impl RefUnwindSafe for CaptureStageClock
impl Send for CaptureStageClock
impl Sync for CaptureStageClock
impl Unpin for CaptureStageClock
impl UnsafeUnpin for CaptureStageClock
impl UnwindSafe for CaptureStageClock
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
impl<T> CloneAny for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CryptoSafe for T
impl<T> CryptoSafe for T
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
impl<S, T> Duplex<S> for Twhere
T: FromSample<S> + ToSample<S>,
Source§impl<S> FromSample<S> for S
impl<S> FromSample<S> for S
fn from_sample_(s: S) -> S
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more