pub enum RangeStatus {
Show 16 variants Valid, SigmaFailure, SignalFailure, MinRangeClipped, OutOfBounds, HardwareFailure, WrapCheckFail, Wraparound, ProcessingFailure, CrosstalkSignal, Synchronisation, MergedPulse, LackOfSignal, MinRangeFail, InvalidRange, None,
}
Expand description

Status of a measurement.

Variants

Valid

Valid measurement.

SigmaFailure

Sigma is above threshold (possibly valid measurement).

SignalFailure

Signal is above threshold (possibly valid measurement).

MinRangeClipped

Target is below minimum detection threshold.

OutOfBounds

Phase is out of bounds.

HardwareFailure

HW or VCSEL failure.

WrapCheckFail

Valid range, but wraparound check has not been done.

Wraparound

Wrapped target, non matching phases.

ProcessingFailure

Internal algorithm underflow or overflow.

CrosstalkSignal

Crosstalk between signals.

Synchronisation

First interrupt when starting ranging in back to back mode. Ignore measurement.

MergedPulse

Valid measurement but result is from multiple merging pulses.

LackOfSignal

Used by RQL as different to phase fail.

MinRangeFail

Target is below minimum detection threshold.

InvalidRange

Measurement is invalid.

None

No new data.

Trait Implementations

Returns a copy of the value. Read more
Performs copy-assignment from source. Read more
Formats the value using the given formatter. Read more
Converts to this type from the input type.
This method tests for self and other values to be equal, and is used by ==. Read more
This method tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.