pub struct Io<T, I> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl<T, I> Write for Io<T, I>where
T: Write,
I: InspectWrite,
impl<T, I> Write for Io<T, I>where
T: Write,
I: InspectWrite,
Source§fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
buf: &[u8],
) -> Poll<Result<usize>>
fn poll_write( self: Pin<&mut Self>, cx: &mut Context<'_>, buf: &[u8], ) -> Poll<Result<usize>>
Attempt to write bytes from
buf
into the destination. Read moreSource§fn poll_flush(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Error>>
fn poll_flush( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Error>>
Attempts to flush the object. Read more
Source§fn poll_shutdown(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
) -> Poll<Result<(), Error>>
fn poll_shutdown( self: Pin<&mut Self>, cx: &mut Context<'_>, ) -> Poll<Result<(), Error>>
Attempts to shut down this writer.
Source§fn is_write_vectored(&self) -> bool
fn is_write_vectored(&self) -> bool
Returns whether this writer has an efficient
poll_write_vectored
implementation. Read moreimpl<'pin, T, I> Unpin for Io<T, I>where
PinnedFieldsOf<__Io<'pin, T, I>>: Unpin,
Auto Trait Implementations§
impl<T, I> Freeze for Io<T, I>
impl<T, I> RefUnwindSafe for Io<T, I>where
T: RefUnwindSafe,
I: RefUnwindSafe,
impl<T, I> Send for Io<T, I>
impl<T, I> Sync for Io<T, I>
impl<T, I> UnwindSafe for Io<T, I>where
T: UnwindSafe,
I: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more