pub enum KernelError {
CStringInvalidKernelName(String),
WorkIsRequired,
ReturningArgIndexOutOfRange(usize, usize),
KernelOpArgWasNotMem,
KernelOpArgWasNotNum,
}
Expand description
An error related to a Kernel
.
Variants§
CStringInvalidKernelName(String)
WorkIsRequired
ReturningArgIndexOutOfRange(usize, usize)
KernelOpArgWasNotMem
KernelOpArgWasNotNum
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 Display for KernelError
impl Display for KernelError
Source§impl Fail for KernelError
impl Fail for KernelError
Source§fn cause(&self) -> Option<&dyn Fail>
fn cause(&self) -> Option<&dyn Fail>
Returns a reference to the underlying cause of this failure, if it
is an error that wraps other errors. Read more
Source§fn backtrace(&self) -> Option<&Backtrace>
fn backtrace(&self) -> Option<&Backtrace>
Returns a reference to the
Backtrace
carried by this failure, if it
carries one. Read moreSource§impl From<KernelError> for Error
impl From<KernelError> for Error
Source§fn from(e: KernelError) -> Error
fn from(e: KernelError) -> Error
Converts to this type from the input type.
Source§impl PartialEq for KernelError
impl PartialEq for KernelError
impl Eq 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