#[repr(u8)]pub enum ErrorStateEnum {
Noerror = 0,
Unabletostartorresume = 1,
Unabletocompleteoperation = 2,
Commandinvalidinstate = 3,
}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
Source§fn clone(&self) -> ErrorStateEnum
fn clone(&self) -> ErrorStateEnum
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 ErrorStateEnum
impl Debug for ErrorStateEnum
Source§impl<'de> Deserialize<'de> for ErrorStateEnum
impl<'de> Deserialize<'de> for ErrorStateEnum
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<ErrorStateEnum> for u8
impl From<ErrorStateEnum> for u8
Source§fn from(val: ErrorStateEnum) -> Self
fn from(val: ErrorStateEnum) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ErrorStateEnum
impl PartialEq for ErrorStateEnum
Source§impl Serialize for ErrorStateEnum
impl Serialize for ErrorStateEnum
impl Copy for ErrorStateEnum
impl Eq for ErrorStateEnum
impl StructuralPartialEq for ErrorStateEnum
Auto Trait Implementations§
impl Freeze for ErrorStateEnum
impl RefUnwindSafe for ErrorStateEnum
impl Send for ErrorStateEnum
impl Sync for ErrorStateEnum
impl Unpin 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