Enum serenity::framework::standard::ArgError [] [src]

pub enum ArgError<E: StdError> {
    Eos,
    Parse(E),
}

Defines how an operation on an Args method failed.

Variants

"END-OF-STRING", more precisely, there isn't anything to parse anymore.

A parsing operation failed; the error in it can be of any returned from the FromStr trait.

Trait Implementations

impl<E: Debug + StdError> Debug for Error<E>
[src]

[src]

Formats the value using the given formatter.

impl<E: StdError> From<E> for Error<E>
[src]

[src]

Performs the conversion.

impl<E: StdError> StdError for Error<E>
[src]

[src]

A short description of the error. Read more

[src]

The lower-level cause of this error, if any. Read more

impl<E: StdError> Display for Error<E>
[src]

[src]

Formats the value using the given formatter. Read more