[−][src]Struct futures::io::WriteHalf
The writable half of an object returned from AsyncRead::split
.
Trait Implementations
impl<W> AsyncWrite for WriteHalf<W> where
W: AsyncWrite,
[src]
impl<W> AsyncWrite for WriteHalf<W> where
W: AsyncWrite,
fn poll_write(
&mut self,
lw: &LocalWaker,
buf: &[u8]
) -> Poll<Result<usize, Error>>
[src]
fn poll_write(
&mut self,
lw: &LocalWaker,
buf: &[u8]
) -> Poll<Result<usize, Error>>
Attempt to write bytes from buf
into the object. Read more
fn poll_vectored_write(
&mut self,
lw: &LocalWaker,
vec: &[&IoVec]
) -> Poll<Result<usize, Error>>
[src]
fn poll_vectored_write(
&mut self,
lw: &LocalWaker,
vec: &[&IoVec]
) -> Poll<Result<usize, Error>>
Attempt to write bytes from vec
into the object using vectored IO operations. Read more
fn poll_flush(&mut self, lw: &LocalWaker) -> Poll<Result<(), Error>>
[src]
fn poll_flush(&mut self, lw: &LocalWaker) -> Poll<Result<(), Error>>
Attempt to flush the object, ensuring that any buffered data reach their destination. Read more
fn poll_close(&mut self, lw: &LocalWaker) -> Poll<Result<(), Error>>
[src]
fn poll_close(&mut self, lw: &LocalWaker) -> Poll<Result<(), Error>>
Attempt to close the object. Read more
impl<T> Debug for WriteHalf<T> where
T: Debug,
[src]
impl<T> Debug for WriteHalf<T> where
T: Debug,
Auto Trait Implementations
Blanket Implementations
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
try_from
)Performs the conversion.
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId
[src]
fn get_type_id(&self) -> TypeId
🔬 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]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
try_from
)Performs the conversion.
impl<W> AsyncWriteExt for W where
W: AsyncWrite + ?Sized,
[src]
impl<W> AsyncWriteExt for W where
W: AsyncWrite + ?Sized,
fn flush(&mut self) -> Flush<Self>
[src]
fn flush(&mut self) -> Flush<Self>
Creates a future which will entirely flush this AsyncWrite
. Read more
fn close(&mut self) -> Close<Self>
[src]
fn close(&mut self) -> Close<Self>
Creates a future which will entirely close this AsyncWrite
.
fn write_all(&'a mut self, buf: &'a [u8]) -> WriteAll<'a, Self>
[src]
fn write_all(&'a mut self, buf: &'a [u8]) -> WriteAll<'a, Self>
Write data into this object. Read more
ⓘImportant traits for Compat<R>fn compat_write(self) -> Compat<Self>
[src]
fn compat_write(self) -> Compat<Self>
Wraps an [AsyncWrite
] in a compatibility wrapper that allows it to be used as a futures 0.1 / tokio-io 0.1 AsyncWrite
. Requires the io-compat
feature to enable. Read more