Enum simics_api_sys::craff_errclass_t
source · #[repr(u32)]pub enum craff_errclass_t {
Craff_Err_Success = 0,
Craff_Err_Nospace = 1,
Craff_Err_Corrupt = 2,
Craff_Err_Notcraff = 3,
Craff_Err_Notdmg = 4,
Craff_Err_ReadOnly = 5,
Craff_Err_Notfound = 6,
Craff_Err_Nosupport = 7,
Craff_Err_Other = 8,
}
Variants§
Craff_Err_Success = 0
no error
Craff_Err_Nospace = 1
out of disk space or quota
Craff_Err_Corrupt = 2
corrupt craff file
Craff_Err_Notcraff = 3
wrong magic number (not a craff file)
Craff_Err_Notdmg = 4
not a dmg image
Craff_Err_ReadOnly = 5
image not writable (read-only)
Craff_Err_Notfound = 6
file not found
Craff_Err_Nosupport = 7
Unsupported feature
Craff_Err_Other = 8
any other error
Trait Implementations§
source§impl Clone for craff_errclass_t
impl Clone for craff_errclass_t
source§fn clone(&self) -> craff_errclass_t
fn clone(&self) -> craff_errclass_t
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 craff_errclass_t
impl Debug for craff_errclass_t
source§impl Hash for craff_errclass_t
impl Hash for craff_errclass_t
source§impl Ord for craff_errclass_t
impl Ord for craff_errclass_t
source§fn cmp(&self, other: &craff_errclass_t) -> Ordering
fn cmp(&self, other: &craff_errclass_t) -> Ordering
1.21.0 · 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
source§impl PartialEq for craff_errclass_t
impl PartialEq for craff_errclass_t
source§impl PartialOrd for craff_errclass_t
impl PartialOrd for craff_errclass_t
impl Copy for craff_errclass_t
impl Eq for craff_errclass_t
impl StructuralPartialEq for craff_errclass_t
Auto Trait Implementations§
impl Freeze for craff_errclass_t
impl RefUnwindSafe for craff_errclass_t
impl Send for craff_errclass_t
impl Sync for craff_errclass_t
impl Unpin for craff_errclass_t
impl UnwindSafe for craff_errclass_t
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
)