pub enum KernelCliError {
CurrentDirectory(Error),
InvalidArgs(String),
Read(PathBuf, Error),
ReadStdin(Error),
Eval(KernelEvalError),
Serialize(Error),
}Variants§
CurrentDirectory(Error)
InvalidArgs(String)
Read(PathBuf, Error)
ReadStdin(Error)
Eval(KernelEvalError)
Serialize(Error)
Trait Implementations§
Source§impl Debug for KernelCliError
impl Debug for KernelCliError
Source§impl Display for KernelCliError
impl Display for KernelCliError
Source§impl Error for KernelCliError
impl Error for KernelCliError
1.30.0 · 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<KernelEvalError> for KernelCliError
impl From<KernelEvalError> for KernelCliError
Source§fn from(error: KernelEvalError) -> Self
fn from(error: KernelEvalError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl !RefUnwindSafe for KernelCliError
impl !UnwindSafe for KernelCliError
impl Freeze for KernelCliError
impl Send for KernelCliError
impl Sync for KernelCliError
impl Unpin for KernelCliError
impl UnsafeUnpin for KernelCliError
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