pub enum RoundTripTickOutcome {
Ongoing,
Complete(f64),
TimedOut,
}Expand description
Result of processing a single input sample through RoundTripMeasurementState::tick.
The session loop calls tick for every sample that arrives on the input ring buffer and
acts on the returned outcome to decide whether to continue, finish, or abort.
Variants§
Ongoing
The measurement is still in progress; more input samples are required.
Complete(f64)
All IMPULSE_COUNT echoes were detected successfully.
Contains the arithmetic mean of the individual round-trip durations in milliseconds.
TimedOut
The current impulse timed out before an echo was detected.
This usually means the output is not physically routed back to the input, or the signal level is too low to cross the derived threshold.
Auto Trait Implementations§
impl Freeze for RoundTripTickOutcome
impl RefUnwindSafe for RoundTripTickOutcome
impl Send for RoundTripTickOutcome
impl Sync for RoundTripTickOutcome
impl Unpin for RoundTripTickOutcome
impl UnsafeUnpin for RoundTripTickOutcome
impl UnwindSafe for RoundTripTickOutcome
Blanket Implementations§
§impl<T> AnySync for T
impl<T> AnySync for T
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