#[repr(u8)]pub enum ErrorStateEnum {
NoError = 0,
UnableToStartOrResume = 1,
UnableToCompleteOperation = 2,
CommandInvalidInState = 3,
}Expand description
ErrorStateEnum.
Variants§
NoError = 0
The device is not in an error state
UnableToStartOrResume = 1
The device is unable to start or resume operation
UnableToCompleteOperation = 2
The device was unable to complete the current operation
CommandInvalidInState = 3
The device cannot process the command in its current state
Implementations§
Trait Implementations§
Source§impl Clone for ErrorStateEnum
impl Clone for ErrorStateEnum
impl Copy for ErrorStateEnum
Source§impl Debug for ErrorStateEnum
impl Debug for ErrorStateEnum
impl Eq for ErrorStateEnum
Source§impl<'a> FromTlv<'a> for ErrorStateEnum
impl<'a> FromTlv<'a> for ErrorStateEnum
Source§impl Hash for ErrorStateEnum
impl Hash for ErrorStateEnum
Source§impl Ord for ErrorStateEnum
impl Ord for ErrorStateEnum
1.21.0 (const: unstable) · 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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for ErrorStateEnum
impl PartialEq for ErrorStateEnum
Source§impl PartialOrd for ErrorStateEnum
impl PartialOrd for ErrorStateEnum
impl StructuralPartialEq for ErrorStateEnum
Auto Trait Implementations§
impl Forget for ErrorStateEnum
impl Freeze for ErrorStateEnum
impl Move for ErrorStateEnum
impl RefUnwindSafe for ErrorStateEnum
impl Send for ErrorStateEnum
impl Sync for ErrorStateEnum
impl Unpin for ErrorStateEnum
impl UnsafeUnpin for ErrorStateEnum
impl UnwindSafe for ErrorStateEnum
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