Enum drv8825::motion_control::TimeConversionError [−][src]
An error occurred while converting between time formats
Variants
Error converting from nanoseconds to timer ticks
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]
NanosecondsToTicksError: Debug,
DelayToTicksError: Debug,
impl<NanosecondsToTicksError, DelayToTicksError> Eq for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
NanosecondsToTicksError: Eq,
DelayToTicksError: Eq,
[src]
NanosecondsToTicksError: Eq,
DelayToTicksError: Eq,
impl<NanosecondsToTicksError, DelayToTicksError> PartialEq<TimeConversionError<NanosecondsToTicksError, DelayToTicksError>> for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
NanosecondsToTicksError: PartialEq<NanosecondsToTicksError>,
DelayToTicksError: PartialEq<DelayToTicksError>,
[src]
NanosecondsToTicksError: PartialEq<NanosecondsToTicksError>,
DelayToTicksError: PartialEq<DelayToTicksError>,
pub fn eq(
&self,
other: &TimeConversionError<NanosecondsToTicksError, DelayToTicksError>
) -> bool
[src]
&self,
other: &TimeConversionError<NanosecondsToTicksError, DelayToTicksError>
) -> bool
pub fn ne(
&self,
other: &TimeConversionError<NanosecondsToTicksError, DelayToTicksError>
) -> bool
[src]
&self,
other: &TimeConversionError<NanosecondsToTicksError, DelayToTicksError>
) -> bool
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,
DelayToTicksError: Send,
NanosecondsToTicksError: Send,
impl<NanosecondsToTicksError, DelayToTicksError> Sync for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
DelayToTicksError: Sync,
NanosecondsToTicksError: Sync,
DelayToTicksError: Sync,
NanosecondsToTicksError: Sync,
impl<NanosecondsToTicksError, DelayToTicksError> Unpin for TimeConversionError<NanosecondsToTicksError, DelayToTicksError> where
DelayToTicksError: Unpin,
NanosecondsToTicksError: Unpin,
DelayToTicksError: Unpin,
NanosecondsToTicksError: 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>,