[][src]Enum dw1000::ranging::ComputeDistanceError

pub enum ComputeDistanceError {
    ReplyTimesTooLarge,
    RoundTripTimesTooLarge,
    SumTooLarge,
    TimeOfFlightTooLarge,
}

Returned from compute_distance_mm in case of an error

Variants

ReplyTimesTooLarge

Reply times are too large to be multiplied

RoundTripTimesTooLarge

Round-trip times are too large to be multiplied

SumTooLarge

The sum computed as part of the algorithm is too large

TimeOfFlightTooLarge

The time of flight is so large, the distance calculation would overflow

Trait Implementations

impl Debug for ComputeDistanceError[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.