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