Enum twizzler_abi::syscall::ObjectControlError
source · #[repr(u64)]pub enum ObjectControlError {
Unknown,
InvalidArgument,
InvalidID,
}
Expand description
Possible error returns for sys_object_ctrl.
Variants§
Unknown
An unknown error occurred.
InvalidArgument
One of the arguments was invalid.
InvalidID
Invalid object ID.
Trait Implementations§
source§impl Clone for ObjectControlError
impl Clone for ObjectControlError
source§fn clone(&self) -> ObjectControlError
fn clone(&self) -> ObjectControlError
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 ObjectControlError
impl Debug for ObjectControlError
source§impl Display for ObjectControlError
impl Display for ObjectControlError
source§impl Error for ObjectControlError
impl Error for ObjectControlError
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<ObjectControlError> for u64
impl From<ObjectControlError> for u64
source§fn from(enum_value: ObjectControlError) -> Self
fn from(enum_value: ObjectControlError) -> Self
Converts to this type from the input type.
source§impl From<u64> for ObjectControlError
impl From<u64> for ObjectControlError
source§impl FromPrimitive for ObjectControlError
impl FromPrimitive for ObjectControlError
source§impl Hash for ObjectControlError
impl Hash for ObjectControlError
source§impl Ord for ObjectControlError
impl Ord for ObjectControlError
source§fn cmp(&self, other: &ObjectControlError) -> Ordering
fn cmp(&self, other: &ObjectControlError) -> 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<ObjectControlError> for ObjectControlError
impl PartialEq<ObjectControlError> for ObjectControlError
source§fn eq(&self, other: &ObjectControlError) -> bool
fn eq(&self, other: &ObjectControlError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<ObjectControlError> for ObjectControlError
impl PartialOrd<ObjectControlError> for ObjectControlError
source§fn partial_cmp(&self, other: &ObjectControlError) -> Option<Ordering>
fn partial_cmp(&self, other: &ObjectControlError) -> 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 ObjectControlError
impl Eq for ObjectControlError
impl StructuralEq for ObjectControlError
impl StructuralPartialEq for ObjectControlError
Auto Trait Implementations§
impl ObjSafe for ObjectControlError
impl RefUnwindSafe for ObjectControlError
impl Send for ObjectControlError
impl Sync for ObjectControlError
impl Unpin for ObjectControlError
impl UnwindSafe for ObjectControlError
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