Enum httpbis::futures_misc::ResultOrEof[][src]

pub enum ResultOrEof<T, E> {
    Item(T),
    Error(E),
    Eof,
}

Variants

Methods

impl<T, E> ResultOrEof<T, E>
[src]

Trait Implementations

impl<T, E> From<Result<T, E>> for ResultOrEof<T, E>
[src]

Performs the conversion.

Auto Trait Implementations

impl<T, E> Send for ResultOrEof<T, E> where
    E: Send,
    T: Send

impl<T, E> Sync for ResultOrEof<T, E> where
    E: Sync,
    T: Sync