[][src]Enum solicit::http::session::StreamDataError

pub enum StreamDataError {
    Closed,
    Other(Box<dyn 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<dyn 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]

Auto Trait Implementations

impl !RefUnwindSafe for StreamDataError

impl Send for StreamDataError

impl Sync for StreamDataError

impl Unpin for StreamDataError

impl !UnwindSafe for StreamDataError

Blanket Implementations

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

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

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

impl<T> From<!> for T[src]

impl<T> From<T> for T[src]

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

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.