Enum solicit::http::session::StreamDataError
[−]
[src]
pub enum StreamDataError { Closed, Other(Box<Error + Send + Sync>), }
The enum represents errors that can be returned from the Stream::get_data_chunk
method.
Variants
Closed
Indicates that the stream cannot provide any data, since it is closed for further writes from the peer's side.
Other(Box<Error + Send + Sync>)
A different error while trying to obtain the data chunk. Wraps a boxed Error
impl.
Trait Implementations
impl Debug for StreamDataError
[src]
impl<E> From<E> for StreamDataError where E: Error + Send + Sync + 'static
[src]
fn from(err: E) -> StreamDataError
Performs the conversion.