Enum stepper::motion_control::Error[][src]

pub enum Error<SetDirectionError, StepError, TimerError, NanosecondsToTicksError, DelayToTicksError> {
    SetDirection(SignalError<SetDirectionError, NanosecondsToTicksError, TimerError>),
    Step(SignalError<StepError, NanosecondsToTicksError, TimerError>),
    TimeConversion(TimeConversionError<NanosecondsToTicksError, DelayToTicksError>),
    StepDelay(TimerError),
}

An error that can occur while using SoftwareMotionControl

Variants

SetDirection(SignalError<SetDirectionError, NanosecondsToTicksError, TimerError>)

Error while setting direction

Step(SignalError<StepError, NanosecondsToTicksError, TimerError>)

Error while stepping the motor

TimeConversion(TimeConversionError<NanosecondsToTicksError, DelayToTicksError>)

Error while converting between time formats

StepDelay(TimerError)

Error while waiting for a step to finish

Trait Implementations

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

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

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

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

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

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

Auto Trait Implementations

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

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

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