[][src]Enum sors::error::CliError

pub enum CliError {
    ParseError {
        msg: String,
    },
    CommandNotFound {
        command: String,
    },
    Empty,
    OtherError {
        msg: String,
    },
}

Variants

ParseError

Fields of ParseError

msg: String
CommandNotFound

Fields of CommandNotFound

command: String
EmptyOtherError

Fields of OtherError

msg: String

Trait Implementations

impl<__T0> From<Context<NoneError, ParseError<__T0>>> for CliError where
    __T0: Into<String>, 
[src]

impl<__T0> From<Context<NoneError, CommandNotFound<__T0>>> for CliError where
    __T0: Into<String>, 
[src]

impl From<Context<NoneError, Empty>> for CliError[src]

impl<__T0> From<Context<NoneError, OtherError<__T0>>> for CliError where
    __T0: Into<String>, 
[src]

impl Debug for CliError[src]

impl Display for CliError[src]

impl Error for CliError where
    Self: Debug + Display
[src]

impl ErrorCompat for CliError[src]

Auto Trait Implementations

impl Send for CliError

impl Sync for CliError

Blanket Implementations

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AsErrorSource for T where
    T: 'static + Error
[src]