pub enum StreamObservation {
VadOnset,
VadOffset,
SmartTurnEou,
PlaybackDrained,
Erl(f32),
HeartbeatLost,
LinkRestored,
}Expand description
Something the daemon derived from the media stream (ADR-068 D3: “the daemon derives impulses from the media stream itself”). None of these can grant the floor — they are observations, not verdicts.
Variants§
VadOnset
VAD onset detected in the up-stream — a floor claim (ADR-062 D5,
SpeechStart → TurnClaim 0x50).
VadOffset
VAD end-of-speech (a brief offset). Ends a Backchannel continuer.
SmartTurnEou
Smart-turn endpoint — the user’s utterance is complete
(EndOfUtterance 0x51).
PlaybackDrained
The edge reported its TTS playout has drained.
Erl(f32)
The latest echo-return-loss confidence the edge measured locally and streamed up the control lane. A daemon-held scalar folded into the floor read; never a transition by itself.
HeartbeatLost
The edge heartbeat was lost — the link is down.
LinkRestored
The link was restored and the edge re-handshook.
Trait Implementations§
Source§impl Clone for StreamObservation
impl Clone for StreamObservation
impl Copy for StreamObservation
Source§impl Debug for StreamObservation
impl Debug for StreamObservation
Source§impl PartialEq for StreamObservation
impl PartialEq for StreamObservation
impl StructuralPartialEq for StreamObservation
Auto Trait Implementations§
impl Freeze for StreamObservation
impl RefUnwindSafe for StreamObservation
impl Send for StreamObservation
impl Sync for StreamObservation
impl Unpin for StreamObservation
impl UnsafeUnpin for StreamObservation
impl UnwindSafe for StreamObservation
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
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> ⓘ
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> ⓘ
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