Enum twizzler_abi::syscall::ObjectUnmapError
source · #[repr(u64)]pub enum ObjectUnmapError {
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 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)>
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<ObjectUnmapError> for ObjectUnmapError
impl PartialEq<ObjectUnmapError> for ObjectUnmapError
source§fn eq(&self, other: &ObjectUnmapError) -> bool
fn eq(&self, other: &ObjectUnmapError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ObjectUnmapError> for ObjectUnmapError
impl PartialOrd<ObjectUnmapError> for ObjectUnmapError
source§fn partial_cmp(&self, other: &ObjectUnmapError) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectUnmapError) -> 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 ObjectUnmapError
impl Eq for ObjectUnmapError
impl StructuralEq for ObjectUnmapError
impl StructuralPartialEq for ObjectUnmapError
Auto Trait Implementations§
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
§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.