Trait tokio::io::Stream [] [src]

pub trait Stream: Read + Write + Readiness {
    fn frame<P, S>(self, parse: P, serialize: S) -> Framed<Self, P, S> where Self: Sized, P: Parse, S: Serialize { ... }
}

Convenience trait representing a bi-directional Tokio aware IO stream.

Provided Methods

fn frame<P, S>(self, parse: P, serialize: S) -> Framed<Self, P, S> where Self: Sized, P: Parse, S: Serialize

Frame this stream

Implementors