Enum stepper::SignalError[][src]

pub enum SignalError<PinError, NanosecondsToTicksError, TimerError> {
    Pin(PinError),
    NanosecondsToTicks(NanosecondsToTicksError),
    Timer(TimerError),
}

An error that can occur while using this API

Variants

Pin(PinError)

An error originated from using the OutputPin trait

NanosecondsToTicks(NanosecondsToTicksError)

An error occurred while converting nanoseconds to timer ticks

Timer(TimerError)

An error originated from working with a timer

Trait Implementations

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

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

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

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

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

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

Auto Trait Implementations

impl<PinError, NanosecondsToTicksError, TimerError> Send for SignalError<PinError, NanosecondsToTicksError, TimerError> where
    NanosecondsToTicksError: Send,
    PinError: Send,
    TimerError: Send

impl<PinError, NanosecondsToTicksError, TimerError> Sync for SignalError<PinError, NanosecondsToTicksError, TimerError> where
    NanosecondsToTicksError: Sync,
    PinError: Sync,
    TimerError: Sync

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