#[repr(u64)]pub enum ObjectMapError {
Unknown = 0,
ObjectNotFound = 1,
InvalidSlot = 2,
InvalidProtections = 3,
InvalidArgument = 4,
}
Expand description
Possible error values for sys_object_map.
Variants§
Unknown = 0
An unknown error occurred.
ObjectNotFound = 1
The specified object was not found.
InvalidSlot = 2
The specified slot was invalid.
InvalidProtections = 3
The specified protections were invalid.
InvalidArgument = 4
An argument was invalid.
Trait Implementations§
source§impl Clone for ObjectMapError
impl Clone for ObjectMapError
source§fn clone(&self) -> ObjectMapError
fn clone(&self) -> ObjectMapError
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 ObjectMapError
impl Debug for ObjectMapError
source§impl Display for ObjectMapError
impl Display for ObjectMapError
source§impl Error for ObjectMapError
impl Error for ObjectMapError
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<ObjectMapError> for u64
impl From<ObjectMapError> for u64
source§fn from(enum_value: ObjectMapError) -> Self
fn from(enum_value: ObjectMapError) -> Self
Converts to this type from the input type.
source§impl From<u64> for ObjectMapError
impl From<u64> for ObjectMapError
source§impl FromPrimitive for ObjectMapError
impl FromPrimitive for ObjectMapError
source§impl Into<MapError> for ObjectMapError
impl Into<MapError> for ObjectMapError
source§impl Ord for ObjectMapError
impl Ord for ObjectMapError
source§fn cmp(&self, other: &ObjectMapError) -> Ordering
fn cmp(&self, other: &ObjectMapError) -> 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 ObjectMapError
impl PartialEq for ObjectMapError
source§impl PartialOrd for ObjectMapError
impl PartialOrd for ObjectMapError
impl Copy for ObjectMapError
impl Eq for ObjectMapError
impl StructuralPartialEq for ObjectMapError
Auto Trait Implementations§
impl Freeze for ObjectMapError
impl ObjSafe for ObjectMapError
impl RefUnwindSafe for ObjectMapError
impl Send for ObjectMapError
impl Sync for ObjectMapError
impl Unpin for ObjectMapError
impl UnwindSafe for ObjectMapError
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.