Enum solicit::http::session::StreamDataError [−][src]
The enum represents errors that can be returned from the Stream::get_data_chunk method.
Variants
ClosedIndicates 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 Debug for StreamDataErrorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl<E> From<E> for StreamDataError where
E: Error + Send + Sync + 'static, [src]
impl<E> From<E> for StreamDataError where
E: Error + Send + Sync + 'static, fn from(err: E) -> StreamDataError[src]
fn from(err: E) -> StreamDataErrorPerforms the conversion.
Auto Trait Implementations
impl Send for StreamDataError
impl Send for StreamDataErrorimpl Sync for StreamDataError
impl Sync for StreamDataError