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". There's nothing to parse anymore.

The parsing operation failed; the error can be anything returned from the FromStr trait.

Trait Implementations

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

Formats the value using the given formatter. Read more

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

Performs the conversion.

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

This method is soft-deprecated. Read more

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

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

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<E> Send for ArgError<E> where
    E: Send

impl<E> Sync for ArgError<E> where
    E: Sync