pub enum LoadKernelError {
Io(Error),
ParseKernelError(ParseKernelError),
InsufficientMemory,
}
Variants§
Trait Implementations§
Source§impl Debug for LoadKernelError
impl Debug for LoadKernelError
Source§impl Display for LoadKernelError
impl Display for LoadKernelError
Source§impl Error for LoadKernelError
impl Error for LoadKernelError
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<Error> for LoadKernelError
impl From<Error> for LoadKernelError
Source§impl From<LoadKernelError> for HypervisorError
impl From<LoadKernelError> for HypervisorError
Source§fn from(source: LoadKernelError) -> Self
fn from(source: LoadKernelError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for LoadKernelError
impl !RefUnwindSafe for LoadKernelError
impl Send for LoadKernelError
impl Sync for LoadKernelError
impl Unpin for LoadKernelError
impl !UnwindSafe for LoadKernelError
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