[][src]Struct tokio_io::io::ReadHalf

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

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

Methods

impl<T: AsyncRead + AsyncWrite> ReadHalf<T>[src]

pub fn unsplit(self, w: WriteHalf<T>) -> T[src]

Reunite with a previously split WriteHalf.

Panics

If this ReadHalf and the given WriteHalf do not originate from the same AsyncRead::split operation this method will panic.

Trait Implementations

impl<T: AsyncRead> AsyncRead for ReadHalf<T>[src]

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

impl<T: AsyncRead> Read for ReadHalf<T>[src]

Auto Trait Implementations

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

impl<T> Unpin for ReadHalf<T>

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

impl<T> !UnwindSafe for ReadHalf<T>

impl<T> !RefUnwindSafe for ReadHalf<T>

Blanket Implementations

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

impl<T> From<T> for T[src]

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

type Error = Infallible

The type returned in the event of a conversion error.

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

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

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

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

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

impl<R> ReadBytesExt for R where
    R: Read + ?Sized
[src]