Enum twizzler_abi::kso::KactionError
source · #[repr(C)]pub enum KactionError {
Unknown,
InvalidArgument,
NotFound,
ResourceAllocationFailed,
OutOfMemory,
}
Expand description
Possible error values for KAction.
Variants§
Unknown
An unknown error.
InvalidArgument
An argument was invalid.
NotFound
The object was not found.
ResourceAllocationFailed
Failed to allocate a resource due to exhaustion.
OutOfMemory
The request required a memory allocation that could not be satisfied.
Trait Implementations§
source§impl Clone for KactionError
impl Clone for KactionError
source§fn clone(&self) -> KactionError
fn clone(&self) -> KactionError
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 KactionError
impl Debug for KactionError
source§impl From<KactionError> for u64
impl From<KactionError> for u64
source§fn from(x: KactionError) -> Self
fn from(x: KactionError) -> Self
Converts to this type from the input type.
source§impl From<u64> for KactionError
impl From<u64> for KactionError
source§impl Ord for KactionError
impl Ord for KactionError
source§fn cmp(&self, other: &KactionError) -> Ordering
fn cmp(&self, other: &KactionError) -> 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<KactionError> for KactionError
impl PartialEq<KactionError> for KactionError
source§fn eq(&self, other: &KactionError) -> bool
fn eq(&self, other: &KactionError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd<KactionError> for KactionError
impl PartialOrd<KactionError> for KactionError
source§fn partial_cmp(&self, other: &KactionError) -> Option<Ordering>
fn partial_cmp(&self, other: &KactionError) -> 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 KactionError
impl Eq for KactionError
impl StructuralEq for KactionError
impl StructuralPartialEq for KactionError
Auto Trait Implementations§
impl ObjSafe for KactionError
impl RefUnwindSafe for KactionError
impl Send for KactionError
impl Sync for KactionError
impl Unpin for KactionError
impl UnwindSafe for KactionError
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