Enum sendgrid::errors::SendgridErrorKind []

pub enum SendgridErrorKind {
    Msg(String),
    Io(Error),
    JSONDecode(Error),
    ReqwestError(Error),
    InvalidFilename,
}

The kind of an error.

Variants

A convenient variant for String.

Methods

impl SendgridErrorKind

A string describing the error kind.

Trait Implementations

impl Debug for SendgridErrorKind

Formats the value using the given formatter.

impl Display for SendgridErrorKind

Formats the value using the given formatter. Read more

impl<'a> From<&'a str> for SendgridErrorKind

Performs the conversion.

impl From<String> for SendgridErrorKind

Performs the conversion.

impl From<SendgridError> for SendgridErrorKind

Performs the conversion.