pub enum KernelError {
Success,
NoSpace,
InvalidName,
InvalidRight,
InvalidValue,
InvalidCapability,
UrefsOverflow,
NotInSet,
Unknown(c_int),
}
Variants§
Success
NoSpace
InvalidName
InvalidRight
InvalidValue
InvalidCapability
UrefsOverflow
NotInSet
Unknown(c_int)
Trait Implementations§
Source§impl Clone for KernelError
impl Clone for KernelError
Source§fn clone(&self) -> KernelError
fn clone(&self) -> KernelError
Returns a duplicate 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 KernelError
impl Debug for KernelError
Source§impl From<KernelError> for MachError
impl From<KernelError> for MachError
Source§fn from(kernel_error: KernelError) -> MachError
fn from(kernel_error: KernelError) -> MachError
Converts to this type from the input type.
Source§impl From<i32> for KernelError
impl From<i32> for KernelError
Source§fn from(code: c_int) -> KernelError
fn from(code: c_int) -> KernelError
Converts to this type from the input type.
Source§impl PartialEq for KernelError
impl PartialEq for KernelError
impl Copy for KernelError
impl StructuralPartialEq for KernelError
Auto Trait Implementations§
impl Freeze for KernelError
impl RefUnwindSafe for KernelError
impl Send for KernelError
impl Sync for KernelError
impl Unpin for KernelError
impl UnwindSafe for KernelError
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