[−][src]Struct futures::io::WriteHalf
pub struct WriteHalf<T> { /* fields omitted */ }
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,
cx: &mut Context,
buf: &[u8]
) -> Poll<Result<usize, Error>>
[src]
fn poll_write(
&mut self,
cx: &mut Context,
buf: &[u8]
) -> Poll<Result<usize, Error>>
Attempt to write bytes from buf
into the object. Read more
fn poll_vectored_write(
&mut self,
cx: &mut Context,
vec: &[&IoVec]
) -> Poll<Result<usize, Error>>
[src]
fn poll_vectored_write(
&mut self,
cx: &mut Context,
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, cx: &mut Context) -> Poll<Result<(), Error>>
[src]
fn poll_flush(&mut self, cx: &mut Context) -> Poll<Result<(), Error>>
Attempt to flush the object, ensuring that any buffered data reach their destination. Read more
fn poll_close(&mut self, cx: &mut Context) -> Poll<Result<(), Error>>
[src]
fn poll_close(&mut self, cx: &mut Context) -> 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> 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, 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<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
ⓘImportant traits for &'a mut Ifn borrow(&self) -> &T
[src]
fn borrow(&self) -> &T
Immutably borrows from an owned value. Read more
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
ⓘImportant traits for &'a mut Ifn borrow_mut(&mut self) -> &mut T
[src]
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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<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