Struct gain::stream::buf::ReadStream [−][src]
pub struct ReadStream { /* fields omitted */ }
Expand description
Buffered input stream.
Implementations
Convert an unbuffered input stream into a buffered input stream.
Convert an unbuffered input stream into an input stream with custom buffer size.
Trait Implementations
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFutureimpl Future for StreamCloseFuture type Output = ();
fn close(&mut self) -> CloseⓘNotable traits for StreamCloseFutureimpl Future for StreamCloseFuture type Output = ();
Notable traits for StreamCloseFuture
impl Future for StreamCloseFuture type Output = ();
Close a stream. Returns a future.
Performs the conversion.