#[repr(u32)]pub enum ErrorEnum {
BadDevice = 255,
BadClass = 254,
BadId = 253,
}
Variants§
Trait Implementations§
source§impl Ord for ErrorEnum
impl Ord for ErrorEnum
source§impl PartialEq for ErrorEnum
impl PartialEq for ErrorEnum
source§impl PartialOrd for ErrorEnum
impl PartialOrd for ErrorEnum
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ErrorEnum
impl Eq for ErrorEnum
impl StructuralPartialEq for ErrorEnum
Auto Trait Implementations§
impl Freeze for ErrorEnum
impl RefUnwindSafe for ErrorEnum
impl Send for ErrorEnum
impl Sync for ErrorEnum
impl Unpin for ErrorEnum
impl UnwindSafe for ErrorEnum
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