Struct simics_api_sys::craff_error
source · #[repr(C)]pub struct craff_error {
pub msg: *mut c_char,
pub errclass: craff_errclass_t,
}
Expand description
craff error state - can be shared between multiple file objects
Fields§
§msg: *mut c_char
malloced, owned by this struct
errclass: craff_errclass_t
Trait Implementations§
source§impl Clone for craff_error
impl Clone for craff_error
source§fn clone(&self) -> craff_error
fn clone(&self) -> craff_error
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_error
impl Debug for craff_error
source§impl Default for craff_error
impl Default for craff_error
source§impl Hash for craff_error
impl Hash for craff_error
source§impl Ord for craff_error
impl Ord for craff_error
source§fn cmp(&self, other: &craff_error) -> Ordering
fn cmp(&self, other: &craff_error) -> 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_error
impl PartialEq for craff_error
source§impl PartialOrd for craff_error
impl PartialOrd for craff_error
impl Copy for craff_error
impl Eq for craff_error
impl StructuralPartialEq for craff_error
Auto Trait Implementations§
impl Freeze for craff_error
impl RefUnwindSafe for craff_error
impl !Send for craff_error
impl !Sync for craff_error
impl Unpin for craff_error
impl UnwindSafe for craff_error
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
)