Enum drv8825::motion_control::TimeConversionError[][src]

pub enum TimeConversionError<NanosecondsToTicksError, DelayToTicksError> {
    NanosecondsToTicks(NanosecondsToTicksError),
    DelayToTicks(DelayToTicksError),
}

An error occurred while converting between time formats

Variants

NanosecondsToTicks(NanosecondsToTicksError)

Error converting from nanoseconds to timer ticks

DelayToTicks(DelayToTicksError)

Error converting from RampMaker delay value to timer ticks

Trait Implementations

impl<NanosecondsToTicksError, DelayToTicksError> Debug for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
    NanosecondsToTicksError: Debug,
    DelayToTicksError: Debug
[src]

impl<NanosecondsToTicksError, DelayToTicksError> Eq for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
    NanosecondsToTicksError: Eq,
    DelayToTicksError: Eq
[src]

impl<NanosecondsToTicksError, DelayToTicksError> PartialEq<TimeConversionError<NanosecondsToTicksError, DelayToTicksError>> for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
    NanosecondsToTicksError: PartialEq<NanosecondsToTicksError>,
    DelayToTicksError: PartialEq<DelayToTicksError>, 
[src]

impl<NanosecondsToTicksError, DelayToTicksError> StructuralEq for TimeConversionError<NanosecondsToTicksError, DelayToTicksError>[src]

impl<NanosecondsToTicksError, DelayToTicksError> StructuralPartialEq for TimeConversionError<NanosecondsToTicksError, DelayToTicksError>[src]

Auto Trait Implementations

impl<NanosecondsToTicksError, DelayToTicksError> Send for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
    DelayToTicksError: Send,
    NanosecondsToTicksError: Send

impl<NanosecondsToTicksError, DelayToTicksError> Sync for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
    DelayToTicksError: Sync,
    NanosecondsToTicksError: Sync

impl<NanosecondsToTicksError, DelayToTicksError> Unpin for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
    DelayToTicksError: Unpin,
    NanosecondsToTicksError: Unpin

Blanket Implementations

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

impl<T> Az for T[src]

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

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

impl<T> CheckedAs for T[src]

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

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

impl<Src, Dst> LosslessTryInto<Dst> for Src where
    Dst: LosslessTryFrom<Src>, 
[src]

impl<Src, Dst> LossyInto<Dst> for Src where
    Dst: LossyFrom<Src>, 
[src]

impl<T> OverflowingAs for T[src]

impl<T> Same<T> for T

type Output = T

Should always be Self

impl<T> SaturatingAs for 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.

impl<T> UnwrappedAs for T[src]

impl<T> WrappingAs for T[src]