[][src]Struct futures::io::ReadHalf

pub struct ReadHalf<T> { /* fields omitted */ }

The readable half of an object returned from AsyncRead::split.

Trait Implementations

impl<T> Debug for ReadHalf<T> where
    T: Debug
[src]

Formats the value using the given formatter. Read more

impl<R> AsyncRead for ReadHalf<R> where
    R: AsyncRead
[src]

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 AsyncReader can work with buffers of uninitialized memory. Read more

Auto Trait Implementations

impl<T> Send for ReadHalf<T> where
    T: Send

impl<T> Sync for ReadHalf<T> where
    T: Send

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

Performs the conversion.

impl<T> From for T
[src]

Performs the conversion.

impl<T, U> TryFrom for T where
    T: From<U>, 
[src]

🔬 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)

Performs the conversion.

impl<T> Borrow for T where
    T: ?Sized
[src]

Immutably borrows from an owned value. Read more

impl<T> Any for T where
    T: 'static + ?Sized
[src]

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more

impl<T> BorrowMut for T where
    T: ?Sized
[src]

Mutably borrows from an owned value. Read more

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

🔬 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)

Performs the conversion.

impl<R> AsyncReadExt for R where
    R: AsyncRead + ?Sized
[src]

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

Important traits for Compat<R>

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