Enum stepper::Error [−][src]
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]
fn from(
err: Error<PinError, PinError, TimerError, NanosecondsToTicksError, DelayToTicksError>
) -> Self
[src]
err: Error<PinError, PinError, TimerError, NanosecondsToTicksError, DelayToTicksError>
) -> Self
impl<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError> From<SignalError<PinError, NanosecondsToTicksError, TimerError>> for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>
[src]
fn from(err: SignalError<PinError, NanosecondsToTicksError, TimerError>) -> Self
[src]
impl<PinError: PartialEq, NanosecondsToTicksError: PartialEq, DelayToTicksError: PartialEq, TimerError: PartialEq> PartialEq<Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>> for Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>
[src]
fn eq(
&self,
other: &Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>
) -> bool
[src]
&self,
other: &Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>
) -> bool
fn ne(
&self,
other: &Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>
) -> bool
[src]
&self,
other: &Error<PinError, NanosecondsToTicksError, DelayToTicksError, TimerError>
) -> bool
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,
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,
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,
DelayToTicksError: Unpin,
NanosecondsToTicksError: Unpin,
PinError: Unpin,
TimerError: Unpin,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Az for T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> CheckedAs for T
[src]
pub fn checked_as<Dst>(self) -> Option<Dst> where
T: CheckedCast<Dst>,
[src]
T: CheckedCast<Dst>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<Src, Dst> LosslessTryInto<Dst> for Src where
Dst: LosslessTryFrom<Src>,
[src]
Dst: LosslessTryFrom<Src>,
pub fn lossless_try_into(self) -> Option<Dst>
[src]
impl<Src, Dst> LossyInto<Dst> for Src where
Dst: LossyFrom<Src>,
[src]
Dst: LossyFrom<Src>,
pub fn lossy_into(self) -> Dst
[src]
impl<T> OverflowingAs for T
[src]
pub fn overflowing_as<Dst>(self) -> (Dst, bool) where
T: OverflowingCast<Dst>,
[src]
T: OverflowingCast<Dst>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> SaturatingAs for T
[src]
pub fn saturating_as<Dst>(self) -> Dst where
T: SaturatingCast<Dst>,
[src]
T: SaturatingCast<Dst>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> UnwrappedAs for T
[src]
pub fn unwrapped_as<Dst>(self) -> Dst where
T: UnwrappedCast<Dst>,
[src]
T: UnwrappedCast<Dst>,
impl<T> WrappingAs for T
[src]
pub fn wrapping_as<Dst>(self) -> Dst where
T: WrappingCast<Dst>,
[src]
T: WrappingCast<Dst>,