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 Ord for Sberror
impl Ord for Sberror
§impl PartialOrd for Sberror
impl PartialOrd for Sberror
impl Copy for Sberror
impl Eq 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 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)