[−][src]Enum sors::error::CliError
Variants
ParseError
Fields of ParseError
msg: String
CommandNotFound
Fields of CommandNotFound
command: String
Empty
OtherError
Fields of OtherError
msg: String
Trait Implementations
impl<__T0> From<Context<NoneError, ParseError<__T0>>> for CliError where
__T0: Into<String>,
[src]
__T0: Into<String>,
fn from(other: Context<NoneError, ParseError<__T0>>) -> Self
[src]
impl<__T0> From<Context<NoneError, CommandNotFound<__T0>>> for CliError where
__T0: Into<String>,
[src]
__T0: Into<String>,
fn from(other: Context<NoneError, CommandNotFound<__T0>>) -> Self
[src]
impl From<Context<NoneError, Empty>> for CliError
[src]
impl<__T0> From<Context<NoneError, OtherError<__T0>>> for CliError where
__T0: Into<String>,
[src]
__T0: Into<String>,
fn from(other: Context<NoneError, OtherError<__T0>>) -> Self
[src]
impl Debug for CliError
[src]
impl Display for CliError
[src]
impl Error for CliError where
Self: Debug + Display,
[src]
Self: Debug + Display,
fn description(&self) -> &str
[src]
fn cause(&self) -> Option<&dyn Error>
[src]
fn source(&self) -> Option<&(dyn Error + 'static)>
[src]
impl ErrorCompat for CliError
[src]
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
ⓘImportant traits for &'_ mut Wfn borrow_mut(&mut self) -> &mut T
[src]
ⓘImportant traits for &'_ mut W
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AsErrorSource for T where
T: 'static + Error,
[src]
T: 'static + Error,