Enum twitter_stream::error::StreamError [] [src]

pub enum StreamError {
    Disconnect(Disconnect),
    Io(Error),
    Json(JsonError),
}

An error occured while listening on a Stream.

Variants

The Stream has been disconnected by the server.

An I/O error.

Failed to parse a JSON message from a Stream.

Trait Implementations

impl Debug for StreamError
[src]

Formats the value using the given formatter.

impl StdError for StreamError
[src]

A short description of the error. Read more

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

impl Display for StreamError
[src]

Formats the value using the given formatter.

impl From<JsonError> for StreamError
[src]

Performs the conversion.

impl From<Error> for StreamError
[src]

Performs the conversion.