Enum simics_api_sys::bindings::snapshot_error_t
source · #[repr(u32)]pub enum snapshot_error_t {
Snapshot_Error_No_Error = 0,
Snapshot_Error_No_Name = 1,
Snapshot_Error_Snapshot_Not_Found = 2,
Snapshot_Error_Snapshot_Already_Exists = 3,
Snapshot_Error_Illegal_Configuration = 4,
Snapshot_Error_Internal_Error = 5,
}
Variants§
Snapshot_Error_No_Error = 0
Nothing went wrong.
Snapshot_Error_No_Name = 1
No snapshot name given.
Snapshot_Error_Snapshot_Not_Found = 2
No snapshot with the given name found.
Snapshot_Error_Snapshot_Already_Exists = 3
A snapshot with the given name already exists.
Snapshot_Error_Illegal_Configuration = 4
The current configuration can not be saved as a snapshot.
Snapshot_Error_Internal_Error = 5
Something unexpected went wrong. Partial state may have been restored.
Trait Implementations§
source§impl Clone for snapshot_error_t
impl Clone for snapshot_error_t
source§fn clone(&self) -> snapshot_error_t
fn clone(&self) -> snapshot_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 snapshot_error_t
impl Debug for snapshot_error_t
source§impl Hash for snapshot_error_t
impl Hash for snapshot_error_t
source§impl Ord for snapshot_error_t
impl Ord for snapshot_error_t
source§fn cmp(&self, other: &snapshot_error_t) -> Ordering
fn cmp(&self, other: &snapshot_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 snapshot_error_t
impl PartialEq for snapshot_error_t
source§impl PartialOrd for snapshot_error_t
impl PartialOrd for snapshot_error_t
impl Copy for snapshot_error_t
impl Eq for snapshot_error_t
impl StructuralPartialEq for snapshot_error_t
Auto Trait Implementations§
impl Freeze for snapshot_error_t
impl RefUnwindSafe for snapshot_error_t
impl Send for snapshot_error_t
impl Sync for snapshot_error_t
impl Unpin for snapshot_error_t
impl UnwindSafe for snapshot_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
)