Enum twizzler_abi::syscall::ObjectReadMapError
source · #[repr(u64)]pub enum ObjectReadMapError {
Unknown,
InvalidSlot,
InvalidArgument,
}
Expand description
Possible error values for sys_object_unmap.
Variants§
Unknown
An unknown error occurred.
InvalidSlot
The specified slot was invalid.
InvalidArgument
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)>
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<ObjectReadMapError> for ObjectReadMapError
impl PartialEq<ObjectReadMapError> for ObjectReadMapError
source§fn eq(&self, other: &ObjectReadMapError) -> bool
fn eq(&self, other: &ObjectReadMapError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ObjectReadMapError> for ObjectReadMapError
impl PartialOrd<ObjectReadMapError> for ObjectReadMapError
source§fn partial_cmp(&self, other: &ObjectReadMapError) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectReadMapError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ObjectReadMapError
impl Eq for ObjectReadMapError
impl StructuralEq for ObjectReadMapError
impl StructuralPartialEq for ObjectReadMapError
Auto Trait Implementations§
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
§impl<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.