Enum twitter_stream::error::StreamError
[−]
[src]
pub enum StreamError {
Disconnect(Disconnect),
Io(Error),
Json(JsonError),
}An error occured while listening on a Stream.
Variants
Disconnect(Disconnect)The Stream has been disconnected by the server.
Io(Error)An I/O error.
Json(JsonError)Failed to parse a JSON message from a Stream.
Trait Implementations
impl Debug for StreamError[src]
impl StdError for StreamError[src]
fn description(&self) -> &str
A short description of the error. Read more
fn cause(&self) -> Option<&StdError>
The lower-level cause of this error, if any. Read more