Enum tb6612fng::DriveError
source · [−]pub enum DriveError {
InvalidSpeed,
}
Expand description
Defines errors which can happen while trying to set a speed.
Variants
InvalidSpeed
An invalid speed has been defined. The speed must be given as a percentage value between 0 and 100 to be valid.
Trait Implementations
sourceimpl Clone for DriveError
impl Clone for DriveError
sourcefn clone(&self) -> DriveError
fn clone(&self) -> DriveError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for DriveError
impl Debug for DriveError
sourceimpl Format for DriveError
impl Format for DriveError
sourceimpl PartialEq<DriveError> for DriveError
impl PartialEq<DriveError> for DriveError
sourcefn eq(&self, other: &DriveError) -> bool
fn eq(&self, other: &DriveError) -> bool
impl Copy for DriveError
impl Eq for DriveError
impl StructuralEq for DriveError
impl StructuralPartialEq for DriveError
Auto Trait Implementations
impl RefUnwindSafe for DriveError
impl Send for DriveError
impl Sync for DriveError
impl Unpin for DriveError
impl UnwindSafe for DriveError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more