Struct ntex_io::ReadBuf

source ·
pub struct ReadBuf<'a> { /* private fields */ }

Implementations§

Get number of newly added bytes

Initiate graceful io stream shutdown

Get reference to source read buffer

Take source read buffer

Set source read buffer

Get reference to destination read buffer

Take destination read buffer

Set destination read buffer

Get reference to source and destination read buffers (src, dst)

Trait Implementations§

Formats the value using the given formatter. 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

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

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.