#[non_exhaustive]pub enum CaptureTransient {
CallStart,
AudioSessionActivated,
RouteChange,
CameraStart,
AppSceneChange,
Other,
}Expand description
A busy moment of the device reported to the audio pipeline, which opens its grace window
for the stage (NoiseRemovalState::capture_stage_last_transient).
Its JSON is "call_start", "audio_session_activated", "route_change",
"camera_start", "app_scene_change" or "other". 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.
CallStart
The call’s audio started (a join or a rejoin).
AudioSessionActivated
The phone’s audio session became active.
RouteChange
The audio route changed.
CameraStart
A camera started or restarted.
AppSceneChange
The app changed scene (foreground, background, focus).
Other
Anything else.
Implementations§
Trait Implementations§
Source§impl Clone for CaptureTransient
impl Clone for CaptureTransient
impl Copy for CaptureTransient
Source§impl Debug for CaptureTransient
impl Debug for CaptureTransient
Source§impl<'de> Deserialize<'de> for CaptureTransient
impl<'de> Deserialize<'de> for CaptureTransient
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 CaptureTransient
impl Display for CaptureTransient
impl Eq for CaptureTransient
Source§impl Hash for CaptureTransient
impl Hash for CaptureTransient
Source§impl PartialEq for CaptureTransient
impl PartialEq for CaptureTransient
Source§impl Serialize for CaptureTransient
impl Serialize for CaptureTransient
impl StructuralPartialEq for CaptureTransient
Auto Trait Implementations§
impl Forget for CaptureTransient
impl Freeze for CaptureTransient
impl Move for CaptureTransient
impl RefUnwindSafe for CaptureTransient
impl Send for CaptureTransient
impl Sync for CaptureTransient
impl Unpin for CaptureTransient
impl UnsafeUnpin for CaptureTransient
impl UnwindSafe for CaptureTransient
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