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

Close a stream. Returns a future.

Returns the “default value” for a type. Read more

Performs the conversion.

Read some bytes into a slice. Returns a future.

Read buffered data. Returns a future. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.