Enum slack_api::HttpRequestError [] [src]

pub enum HttpRequestError {
    Io(Error),
    // some variants omitted
}

Represents errors that can happen that occur when sending an HTTP request to Slack

Used in the Request variant of the Error type.

Variants

Io(Error)

An error occurring during network stream reading or writing

Trait Implementations

impl Debug for HttpRequestError
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl Error for HttpRequestError
[src]

fn description(&self) -> &str

A short description of the error. Read more

fn cause(&self) -> Option<&Error>

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

impl Display for HttpRequestError
[src]

fn fmt(&self, f: &mut Formatter) -> Result

Formats the value using the given formatter.

impl From<Error> for HttpRequestError
[src]

fn from(err: Error) -> HttpRequestError

Performs the conversion.

impl From<Error> for HttpRequestError
[src]

fn from(err: Error) -> HttpRequestError

Performs the conversion.