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

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

An error occurred while trying to connect to a Stream.

Variants

An error occured while decoding gzip stream from the server.

An HTTP error from the Stream.

An error from the hyper crate.

The stream has timed out.

Twitter returned a non-UTF-8 string.

User-defined error.

Methods

impl Error
[src]

Trait Implementations

impl Debug for Error
[src]

impl Display for Error
[src]

impl Error for Error
[src]

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

Auto Trait Implementations

impl Send for Error

impl Sync for Error

Blanket Implementations

impl<T> From for T
[src]

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Erased for T

impl<T> Same for T

Should always be Self