pub struct DuplexImpulse {
pub kind: ImpulseType,
pub erl: Option<f32>,
}Expand description
A floor-pressure impulse the daemon derives from the media stream and lifts onto
the ECC ImpulseQueue that feeds the
TalkModeLoop. Named to avoid colliding with
crate::impulse::Impulse; the plan (§Phase 0) calls this the derived
“Impulse”. It can only carry an ImpulseType (no grant variant exists), which
is what makes observe unable to decide the floor.
Fields§
§kind: ImpulseTypeThe impulse kind — TurnClaim/EndOfUtterance in Phase 0.
erl: Option<f32>The last ERL confidence the edge measured, carried so the floor read can
weight a low-ERL TurnClaim down (ADR-068 D1 self-cancel fix). None until
the edge streams an StreamObservation::Erl.
Trait Implementations§
Source§impl Clone for DuplexImpulse
impl Clone for DuplexImpulse
Source§impl Debug for DuplexImpulse
impl Debug for DuplexImpulse
Source§impl PartialEq for DuplexImpulse
impl PartialEq for DuplexImpulse
impl StructuralPartialEq for DuplexImpulse
Auto Trait Implementations§
impl Freeze for DuplexImpulse
impl RefUnwindSafe for DuplexImpulse
impl Send for DuplexImpulse
impl Sync for DuplexImpulse
impl Unpin for DuplexImpulse
impl UnsafeUnpin for DuplexImpulse
impl UnwindSafe for DuplexImpulse
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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