pub enum KernelError {
Vm(VmError),
Cap(CapError),
Op(OpError),
CacheDirectory(CacheError),
ImageConvert(ImageConvertError),
FileNotFound(u64),
StorageExhausted(u64, u64, u64),
Invariant(&'static str),
BlobFormat(&'static str),
}Variants§
Vm(VmError)
Cap(CapError)
Op(OpError)
CacheDirectory(CacheError)
ImageConvert(ImageConvertError)
FileNotFound(u64)
StorageExhausted(u64, u64, u64)
Invariant(&'static str)
BlobFormat(&'static str)
Trait Implementations§
Source§impl Debug for KernelError
impl Debug for KernelError
Source§impl Display for KernelError
impl Display for KernelError
Source§impl Error for KernelError
impl Error for KernelError
Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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<CacheError> for KernelError
impl From<CacheError> for KernelError
Source§impl From<CapError> for KernelError
impl From<CapError> for KernelError
Source§impl From<ImageConvertError> for KernelError
impl From<ImageConvertError> for KernelError
Source§impl From<OpError> for KernelError
impl From<OpError> 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 UnsafeUnpin for KernelError
impl UnwindSafe for KernelError
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
The archived version of the pointer metadata for this type.
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
Converts some archived metadata to the pointer metadata for itself.
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
§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
Returns the layout of the type.