UniversalStream

Trait UniversalStream 

Source
pub trait UniversalStream<S, E>:
    Stream<Item = Result<S, E>>
    + Sink<S, Error = E>
    + Unpin
    + Send
    + 'static { }

Implementors§

Source§

impl<S, E, T> UniversalStream<S, E> for T
where T: Stream<Item = Result<S, E>> + Sink<S, Error = E> + Unpin + Send + 'static,