#[repr(u64)]pub enum ObjectReadMapError {
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 ObjectReadMapError
impl Clone for ObjectReadMapError
source§fn clone(&self) -> ObjectReadMapError
fn clone(&self) -> ObjectReadMapError
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 ObjectReadMapError
impl Debug for ObjectReadMapError
source§impl Display for ObjectReadMapError
impl Display for ObjectReadMapError
source§impl Error for ObjectReadMapError
impl Error for ObjectReadMapError
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<ObjectReadMapError> for u64
impl From<ObjectReadMapError> for u64
source§fn from(enum_value: ObjectReadMapError) -> Self
fn from(enum_value: ObjectReadMapError) -> Self
Converts to this type from the input type.
source§impl From<u64> for ObjectReadMapError
impl From<u64> for ObjectReadMapError
source§impl FromPrimitive for ObjectReadMapError
impl FromPrimitive for ObjectReadMapError
source§impl Ord for ObjectReadMapError
impl Ord for ObjectReadMapError
source§fn cmp(&self, other: &ObjectReadMapError) -> Ordering
fn cmp(&self, other: &ObjectReadMapError) -> 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 ObjectReadMapError
impl PartialEq for ObjectReadMapError
source§impl PartialOrd for ObjectReadMapError
impl PartialOrd for ObjectReadMapError
impl Copy for ObjectReadMapError
impl Eq for ObjectReadMapError
impl StructuralPartialEq for ObjectReadMapError
Auto Trait Implementations§
impl Freeze for ObjectReadMapError
impl ObjSafe for ObjectReadMapError
impl RefUnwindSafe for ObjectReadMapError
impl Send for ObjectReadMapError
impl Sync for ObjectReadMapError
impl Unpin for ObjectReadMapError
impl UnwindSafe for ObjectReadMapError
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.