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

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

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

Implementations

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> !RefUnwindSafe for ReadHalf<T>

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

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

impl<T> Unpin for ReadHalf<T>

impl<T> !UnwindSafe for ReadHalf<T>

Blanket Implementations

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

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

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

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

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

impl<R> ReadBytesExt for R where
    R: Read + ?Sized
[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.