Enum serenity::framework::standard::ArgError [−][src]
pub enum ArgError<E: StdError> { Eos, Parse(E), }
Defines how an operation on an Args
method failed.
Variants
Eos
"END-OF-STRING". There's nothing to parse anymore.
Parse(E)
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]
impl<E: Debug + StdError> Debug for Error<E>
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<E: StdError> From<E> for Error<E>
[src]
impl<E: StdError> From<E> for Error<E>
impl<E: StdError> StdError for Error<E>
[src]
impl<E: StdError> StdError for Error<E>
fn description(&self) -> &str
[src]
fn description(&self) -> &str
This method is soft-deprecated. Read more
fn cause(&self) -> Option<&StdError>
[src]
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more
impl<E: StdError> Display for Error<E>
[src]
impl<E: StdError> Display for Error<E>