#[repr(u8)]pub enum ControllerError {
ErrorNone = 0,
ErrorOverspeed = 1,
}Variants§
Trait Implementations§
Source§impl Clone for ControllerError
impl Clone for ControllerError
Source§fn clone(&self) -> ControllerError
fn clone(&self) -> ControllerError
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ControllerError
impl Debug for ControllerError
Source§impl Ord for ControllerError
impl Ord for ControllerError
Source§fn cmp(&self, other: &ControllerError) -> Ordering
fn cmp(&self, other: &ControllerError) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ControllerError
impl PartialEq for ControllerError
Source§impl PartialOrd for ControllerError
impl PartialOrd for ControllerError
impl Copy for ControllerError
impl Eq for ControllerError
impl StructuralPartialEq for ControllerError
Auto Trait Implementations§
impl Freeze for ControllerError
impl RefUnwindSafe for ControllerError
impl Send for ControllerError
impl Sync for ControllerError
impl Unpin for ControllerError
impl UnwindSafe for ControllerError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more