[−][src]Struct gio::IOStreamAsyncReadWrite
Methods
impl<T: IsA<IOStream>> IOStreamAsyncReadWrite<T>
[src]
pub fn input_stream(&self) -> &PollableInputStream
[src]
pub fn output_stream(&self) -> &PollableOutputStream
[src]
pub fn into_io_stream(self) -> T
[src]
pub fn io_stream(&self) -> &T
[src]
Trait Implementations
impl<T: IsA<IOStream> + Unpin> AsyncRead for IOStreamAsyncReadWrite<T>
[src]
fn poll_read(
self: Pin<&mut Self>,
cx: &mut Context,
buf: &mut [u8]
) -> Poll<Result<usize, Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context,
buf: &mut [u8]
) -> Poll<Result<usize, Error>>
fn poll_read_vectored(
self: Pin<&mut Self>,
cx: &mut Context,
bufs: &mut [IoSliceMut]
) -> Poll<Result<usize, Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context,
bufs: &mut [IoSliceMut]
) -> Poll<Result<usize, Error>>
impl<T: IsA<IOStream> + Unpin> AsyncWrite for IOStreamAsyncReadWrite<T>
[src]
fn poll_write(
self: Pin<&mut Self>,
cx: &mut Context,
buf: &[u8]
) -> Poll<Result<usize, Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context,
buf: &[u8]
) -> Poll<Result<usize, Error>>
fn poll_close(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), Error>>
[src]
fn poll_flush(self: Pin<&mut Self>, cx: &mut Context) -> Poll<Result<(), Error>>
[src]
fn poll_write_vectored(
self: Pin<&mut Self>,
cx: &mut Context,
bufs: &[IoSlice]
) -> Poll<Result<usize, Error>>
[src]
self: Pin<&mut Self>,
cx: &mut Context,
bufs: &[IoSlice]
) -> Poll<Result<usize, Error>>
impl<T: Debug> Debug for IOStreamAsyncReadWrite<T>
[src]
Auto Trait Implementations
impl<T> !RefUnwindSafe for IOStreamAsyncReadWrite<T>
impl<T> !Send for IOStreamAsyncReadWrite<T>
impl<T> !Sync for IOStreamAsyncReadWrite<T>
impl<T> Unpin for IOStreamAsyncReadWrite<T> where
T: Unpin,
T: Unpin,
impl<T> !UnwindSafe for IOStreamAsyncReadWrite<T>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?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,
fn borrow_mut(&mut self) -> &mut T
[src]
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>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,