Enum Sberror
#[repr(u8)]pub enum Sberror {
Normal = 0,
Timeout = 1,
Address = 2,
Alignment = 3,
Size = 4,
_RESERVED_5 = 5,
_RESERVED_6 = 6,
Other = 7,
}Variants§
Normal = 0
There was no bus error.
Timeout = 1
There was a timeout.
Address = 2
A bad address was accessed.
Alignment = 3
There was an alignment error.
Size = 4
An access of unsupported size was requested.
_RESERVED_5 = 5
_RESERVED_6 = 6
Other = 7
Other.
Implementations§
Trait Implementations§
impl Copy for Sberror
impl Eq for Sberror
§impl Ord for Sberror
impl Ord for Sberror
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
§impl PartialOrd for Sberror
impl PartialOrd for Sberror
impl StructuralPartialEq for Sberror
Auto Trait Implementations§
impl Freeze for Sberror
impl RefUnwindSafe for Sberror
impl Send for Sberror
impl Sync for Sberror
impl Unpin for Sberror
impl UnsafeUnpin for Sberror
impl UnwindSafe for Sberror
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