pub struct ReadHalf<T> { /* fields omitted */ }
The readable half of an object returned from AsyncRead::split
.
Formats the value using the given formatter. Read more
Attempt to read from the AsyncRead
into buf
. Read more
Attempt to read from the AsyncRead
into vec
using vectored IO operations. Read more
Determines if this AsyncRead
er can work with buffers of uninitialized memory. Read more
Creates a future which copies all the bytes from one object to another. Read more
Tries to read some bytes directly into the given buf
in asynchronous manner, returning a future type. Read more
Creates a future which will read exactly enough bytes to fill buf
, returning an error if end of file (EOF) is hit sooner. Read more
Creates a future which will read all the bytes from this AsyncRead
. Read more
Helper method for splitting this read/write object into two halves. Read more
Wraps an AsyncRead
in a compatibility wrapper that allows it to be used as a futures 0.1 / tokio-io 0.1 AsyncRead
. If the wrapped type implements AsyncWrite
as well, the result will also implement the futures 0.1 / tokio 0.1 AsyncWrite
trait. Read more
type Error = !
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static
Mutably borrows from an owned value. Read more
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)