#[repr(u64)]pub enum ObjectUnmapError {
Unknown = 0,
InvalidSlot = 1,
InvalidArgument = 2,
}
Expand description
Possible error values for sys_object_unmap.
Variants§
Unknown = 0
An unknown error occurred.
InvalidSlot = 1
The specified slot was invalid.
InvalidArgument = 2
An argument was invalid.
Trait Implementations§
source§impl Clone for ObjectUnmapError
impl Clone for ObjectUnmapError
source§fn clone(&self) -> ObjectUnmapError
fn clone(&self) -> ObjectUnmapError
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 ObjectUnmapError
impl Debug for ObjectUnmapError
source§impl Display for ObjectUnmapError
impl Display for ObjectUnmapError
source§impl Error for ObjectUnmapError
impl Error for ObjectUnmapError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<ObjectUnmapError> for u64
impl From<ObjectUnmapError> for u64
source§fn from(enum_value: ObjectUnmapError) -> Self
fn from(enum_value: ObjectUnmapError) -> Self
Converts to this type from the input type.
source§impl From<u64> for ObjectUnmapError
impl From<u64> for ObjectUnmapError
source§impl FromPrimitive for ObjectUnmapError
impl FromPrimitive for ObjectUnmapError
source§impl Ord for ObjectUnmapError
impl Ord for ObjectUnmapError
source§fn cmp(&self, other: &ObjectUnmapError) -> Ordering
fn cmp(&self, other: &ObjectUnmapError) -> 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 ObjectUnmapError
impl PartialEq for ObjectUnmapError
source§impl PartialOrd for ObjectUnmapError
impl PartialOrd for ObjectUnmapError
impl Copy for ObjectUnmapError
impl Eq for ObjectUnmapError
impl StructuralPartialEq for ObjectUnmapError
Auto Trait Implementations§
impl Freeze for ObjectUnmapError
impl ObjSafe for ObjectUnmapError
impl RefUnwindSafe for ObjectUnmapError
impl Send for ObjectUnmapError
impl Sync for ObjectUnmapError
impl Unpin for ObjectUnmapError
impl UnwindSafe for ObjectUnmapError
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
)§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.