pub struct BackendVadSnapshot {
pub backend: &'static str,
pub sample_rate: u32,
pub frame_duration_ms: u32,
pub frame_size: usize,
pub state: &'static str,
pub speaking: bool,
pub last_probability: Option<f32>,
pub frames_processed: u64,
pub last_transition_ms_ago: Option<u64>,
}Expand description
Snapshot of backend VAD state for devtools and diagnostics.
Fields§
§backend: &'static strActive detector backend name.
sample_rate: u32Input sample rate in Hz.
frame_duration_ms: u32Detector frame duration in milliseconds.
frame_size: usizeDetector frame size in samples.
state: &'static strCurrent detector state.
speaking: boolWhether the detector is currently in a speech state.
last_probability: Option<f32>Last normalized speech probability or binary decision.
frames_processed: u64Number of complete frames processed by the backend detector.
last_transition_ms_ago: Option<u64>Milliseconds since the last speech start/end transition.
Trait Implementations§
Source§impl Clone for BackendVadSnapshot
impl Clone for BackendVadSnapshot
Source§fn clone(&self) -> BackendVadSnapshot
fn clone(&self) -> BackendVadSnapshot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for BackendVadSnapshot
impl Debug for BackendVadSnapshot
Auto Trait Implementations§
impl Freeze for BackendVadSnapshot
impl RefUnwindSafe for BackendVadSnapshot
impl Send for BackendVadSnapshot
impl Sync for BackendVadSnapshot
impl Unpin for BackendVadSnapshot
impl UnwindSafe for BackendVadSnapshot
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