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

pub enum Error {
    Http(StatusCode),
    Hyper(HyperError),
    TimedOut,
    Tls(TlsError),
    Utf8(Utf8Error),
    Custom(Box<Error + Send + Sync>),
}

An error occurred while trying to connect to a Stream.

Variants

An HTTP error from the Stream.

An error from the hyper crate.

The stream has timed out.

An error occured when initializing a TLS client.

Twitter returned a non-UTF-8 string.

User-defined error.

Methods

impl Error
[src]

Trait Implementations

impl Debug for Error
[src]

Formats the value using the given formatter.

impl Error 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