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