Struct gain::stream::buf::ReadWriteStream[][src]

pub struct ReadWriteStream { /* fields omitted */ }
Expand description

Bidirectional stream with input buffering.

Implementations

Convert an unbuffered stream into a stream with input buffering.

Convert an unbuffered stream into a stream with custom input 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

Write part of a byte slice. Returns a future.

Write part of a byte slice. Returns a future.

Write a whole byte slice. Returns a future.

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.