[−][src]Struct futures::io::ReadHalf
The readable half of an object returned from AsyncRead::split
.
Implementations
impl<T> ReadHalf<T> where
T: Unpin,
[src][−]
T: Unpin,
pub fn reunite(self, other: WriteHalf<T>) -> Result<T, ReuniteError<T>>
[src][−]
Attempts to put the two "halves" of a split AsyncRead + AsyncWrite
back
together. Succeeds only if the ReadHalf<T>
and WriteHalf<T>
are
a matching pair originating from the same call to AsyncReadExt::split
.
Trait Implementations
impl<R> AsyncRead for ReadHalf<R> where
R: AsyncRead,
[src][+]
R: AsyncRead,
impl<T> Debug for ReadHalf<T> where
T: Debug,
[src][+]
T: Debug,
Auto Trait Implementations
impl<T> !RefUnwindSafe for ReadHalf<T>
impl<T> Send for ReadHalf<T> where
T: Send,
T: Send,
impl<T> Sync for ReadHalf<T> where
T: Send,
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][+]
T: 'static + ?Sized,
impl<R> AsyncReadExt for R where
R: AsyncRead + ?Sized,
[src][+]
R: AsyncRead + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src][+]
T: ?Sized,
impl<T> From<T> for T
[src][+]
impl<T, U> Into<U> for T where
U: From<T>,
[src][+]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src][+]
U: Into<T>,
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src][+]
U: TryFrom<T>,