Struct gio::OutputStreamAsyncWrite
source · pub struct OutputStreamAsyncWrite<T: IsA<PollableOutputStream>>(/* private fields */);
Implementations§
source§impl<T: IsA<PollableOutputStream>> OutputStreamAsyncWrite<T>
impl<T: IsA<PollableOutputStream>> OutputStreamAsyncWrite<T>
pub fn into_output_stream(self) -> T
pub fn output_stream(&self) -> &T
Trait Implementations§
source§impl<T: IsA<PollableOutputStream>> AsyncWrite for OutputStreamAsyncWrite<T>
impl<T: IsA<PollableOutputStream>> AsyncWrite for OutputStreamAsyncWrite<T>
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 object. Read moresource§fn poll_write_vectored(
self: Pin<&mut Self>,
cx: &mut Context<'_>,
bufs: &[IoSlice<'_>]
) -> Poll<Result<usize>>
fn poll_write_vectored( self: Pin<&mut Self>, cx: &mut Context<'_>, bufs: &[IoSlice<'_>] ) -> Poll<Result<usize>>
Attempt to write bytes from
bufs
into the object using vectored
IO operations. Read moreAuto Trait Implementations§
impl<T> !RefUnwindSafe for OutputStreamAsyncWrite<T>
impl<T> Send for OutputStreamAsyncWrite<T>where
T: Send,
impl<T> Sync for OutputStreamAsyncWrite<T>where
T: Sync,
impl<T> Unpin for OutputStreamAsyncWrite<T>where
T: Unpin,
impl<T> !UnwindSafe for OutputStreamAsyncWrite<T>
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