#[repr(u32)]pub enum cr_failure {
CR_NONE = 0,
CR_SEGFAULT = 1,
CR_ILLEGAL = 2,
CR_ABORT = 3,
CR_MISALIGN = 4,
CR_BOUNDS = 5,
CR_STACKOVERFLOW = 6,
CR_STATE_INVALIDATED = 7,
CR_BAD_IMAGE = 8,
CR_OTHER = 9,
CR_USER = 256,
}
Variants§
CR_NONE = 0
CR_SEGFAULT = 1
CR_ILLEGAL = 2
CR_ABORT = 3
CR_MISALIGN = 4
CR_BOUNDS = 5
CR_STACKOVERFLOW = 6
CR_STATE_INVALIDATED = 7
CR_BAD_IMAGE = 8
CR_OTHER = 9
CR_USER = 256
Trait Implementations§
Source§impl Clone for cr_failure
impl Clone for cr_failure
Source§fn clone(&self) -> cr_failure
fn clone(&self) -> cr_failure
Returns a copy 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 cr_failure
impl Debug for cr_failure
Source§impl Hash for cr_failure
impl Hash for cr_failure
Source§impl PartialEq for cr_failure
impl PartialEq for cr_failure
impl Copy for cr_failure
impl Eq for cr_failure
impl StructuralPartialEq for cr_failure
Auto Trait Implementations§
impl Freeze for cr_failure
impl RefUnwindSafe for cr_failure
impl Send for cr_failure
impl Sync for cr_failure
impl Unpin for cr_failure
impl UnwindSafe for cr_failure
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