Enum simics_api_sys::set_error_t
source · #[repr(u32)]pub enum set_error_t {
Sim_Set_Ok = 0,
Sim_Set_Object_Not_Found = 1,
Sim_Set_Interface_Not_Found = 2,
Sim_Set_Illegal_Value = 3,
Sim_Set_Illegal_Type = 4,
Sim_Set_Illegal_Index = 5,
Sim_Set_Attribute_Not_Found = 6,
Sim_Set_Not_Writable = 7,
Sim_Set_Error_Types = 8,
}
Expand description
Variants§
Sim_Set_Ok = 0
Sim_Set_Object_Not_Found = 1
Sim_Set_Interface_Not_Found = 2
Sim_Set_Illegal_Value = 3
Sim_Set_Illegal_Type = 4
Sim_Set_Illegal_Index = 5
Sim_Set_Attribute_Not_Found = 6
Sim_Set_Not_Writable = 7
Sim_Set_Error_Types = 8
number of error types
Trait Implementations§
source§impl Clone for set_error_t
impl Clone for set_error_t
source§fn clone(&self) -> set_error_t
fn clone(&self) -> set_error_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 set_error_t
impl Debug for set_error_t
source§impl Hash for set_error_t
impl Hash for set_error_t
source§impl Ord for set_error_t
impl Ord for set_error_t
source§fn cmp(&self, other: &set_error_t) -> Ordering
fn cmp(&self, other: &set_error_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 set_error_t
impl PartialEq for set_error_t
source§impl PartialOrd for set_error_t
impl PartialOrd for set_error_t
impl Copy for set_error_t
impl Eq for set_error_t
impl StructuralPartialEq for set_error_t
Auto Trait Implementations§
impl Freeze for set_error_t
impl RefUnwindSafe for set_error_t
impl Send for set_error_t
impl Sync for set_error_t
impl Unpin for set_error_t
impl UnwindSafe for set_error_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
)