Enum twitter_stream::error::Error [] [src]

pub enum Error {
    Gzip(Error),
    Http(StatusCode),
    Hyper(HyperError),
    Url(UrlError),
    Tls(TlsError),
}

An error occurred while trying to connect to a Stream.

Variants

An error occured while parsing the gzip header of the response from the server.

An HTTP error from the Stream.

An error from the hyper crate.

An invalid url was passed to TwitterStreamBuilder::custom method.

An error occured when initializing a TLS client.

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl StdError for Error
[src]

A short description of the error. Read more

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

impl Display for Error
[src]

Formats the value using the given formatter. Read more

impl From<StatusCode> for Error
[src]

Performs the conversion.

impl From<TlsError> for Error
[src]

Performs the conversion.

impl From<UrlError> for Error
[src]

Performs the conversion.

impl From<HyperError> for Error
[src]

Performs the conversion.