Enum stepper::Error[][src]

pub enum Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> {
    Signal(SignalError<PinError, NanosecondsToTicksError, TimerError>),
    MotionControl(Error<PinError, PinError, TimerError, NanosecondsToTicksError, DelayToTicksError>),
}

Unified error type

Unifies the two types of errors that can happen while using Stepper: Signal errors and motion control errors.

Variants

Signal(SignalError<PinError, NanosecondsToTicksError, TimerError>)

A signal error

MotionControl(Error<PinError, PinError, TimerError, NanosecondsToTicksError, DelayToTicksError>)

A motion control error

Trait Implementations

impl<PinError: Debug, NanosecondsToTicksError: Debug, DelayToTicksError: Debug, TimerError: Debug> Debug for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>[src]

impl<PinError: Eq, NanosecondsToTicksError: Eq, DelayToTicksError: Eq, TimerError: Eq> Eq for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>[src]

impl<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> From<Error<PinError, PinError, TimerError, NanosecondsToTicksError, DelayToTicksError>> for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>[src]

impl<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> From<SignalError<PinError, NanosecondsToTicksError, TimerError>> for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>[src]

impl<PinError: PartialEq, NanosecondsToTicksError: PartialEq, DelayToTicksError: PartialEq, TimerError: PartialEq> PartialEq<Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>> for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>[src]

impl<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> StructuralEq for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>[src]

impl<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> StructuralPartialEq for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>[src]

Auto Trait Implementations

impl<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> Send for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> where
    DelayToTicksError: Send,
    NanosecondsToTicksError: Send,
    PinError: Send,
    TimerError: Send

impl<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> Sync for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> where
    DelayToTicksError: Sync,
    NanosecondsToTicksError: Sync,
    PinError: Sync,
    TimerError: Sync

impl<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> Unpin for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> where
    DelayToTicksError: Unpin,
    NanosecondsToTicksError: Unpin,
    PinError: Unpin,
    TimerError: 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]