Home
last modified time | relevance | path

Searched refs:AsyncWrite (Results 1 – 25 of 81) sorted by relevance

1234

/external/rust/crates/tokio/src/io/
Dasync_write.rs45 pub trait AsyncWrite { trait
213 impl<T: ?Sized + AsyncWrite + Unpin> AsyncWrite for Box<T> {
217 impl<T: ?Sized + AsyncWrite + Unpin> AsyncWrite for &mut T { impl
221 impl<P> AsyncWrite for Pin<P>
224 P::Target: AsyncWrite,
255 impl AsyncWrite for Vec<u8> {
286 impl AsyncWrite for io::Cursor<&mut [u8]> {
316 impl AsyncWrite for io::Cursor<&mut Vec<u8>> {
346 impl AsyncWrite for io::Cursor<Vec<u8>> {
376 impl AsyncWrite for io::Cursor<Box<[u8]>> {
/external/rust/crates/tokio/src/io/util/
Dcopy_bidirectional.rs3 use crate::io::{AsyncRead, AsyncWrite};
30 A: AsyncRead + AsyncWrite + Unpin + ?Sized, in transfer_one_direction()
31 B: AsyncRead + AsyncWrite + Unpin + ?Sized, in transfer_one_direction()
54 A: AsyncRead + AsyncWrite + Unpin + ?Sized,
55 B: AsyncRead + AsyncWrite + Unpin + ?Sized,
109 A: AsyncRead + AsyncWrite + Unpin + ?Sized, in copy_bidirectional()
110 B: AsyncRead + AsyncWrite + Unpin + ?Sized, in copy_bidirectional()
Dbuf_stream.rs2 use crate::io::{AsyncBufRead, AsyncRead, AsyncWrite, ReadBuf};
25 impl<RW: AsyncRead + AsyncWrite> BufStream<RW> {
117 impl<RW: AsyncRead + AsyncWrite> AsyncWrite for BufStream<RW> {
135 impl<RW: AsyncRead + AsyncWrite> AsyncRead for BufStream<RW> {
145 impl<RW: AsyncRead + AsyncWrite> AsyncBufRead for BufStream<RW> {
Dbuf_writer.rs2 use crate::io::{AsyncBufRead, AsyncRead, AsyncWrite, ReadBuf};
40 impl<W: AsyncWrite> BufWriter<W> {
116 impl<W: AsyncWrite> AsyncWrite for BufWriter<W> {
145 impl<W: AsyncWrite + AsyncRead> AsyncRead for BufWriter<W> {
155 impl<W: AsyncWrite + AsyncBufRead> AsyncBufRead for BufWriter<W> {
Dflush.rs1 use crate::io::AsyncWrite;
28 A: AsyncWrite + Unpin + ?Sized, in flush()
38 A: AsyncWrite + Unpin + ?Sized,
Dshutdown.rs1 use crate::io::AsyncWrite;
28 A: AsyncWrite + Unpin + ?Sized, in shutdown()
38 A: AsyncWrite + Unpin + ?Sized,
Dwrite.rs1 use crate::io::AsyncWrite;
27 W: AsyncWrite + Unpin + ?Sized, in write()
38 W: AsyncWrite + Unpin + ?Sized,
Dwrite_vectored.rs1 use crate::io::AsyncWrite;
28 W: AsyncWrite + Unpin + ?Sized, in write_vectored()
39 W: AsyncWrite + Unpin + ?Sized,
Dcopy.rs1 use crate::io::{AsyncRead, AsyncWrite, ReadBuf};
36 W: AsyncWrite + ?Sized, in poll_copy()
126 W: AsyncWrite + Unpin + ?Sized,
139 W: AsyncWrite + Unpin + ?Sized,
/external/rust/crates/flate2/src/zlib/
Dwrite.rs7 use tokio_io::{AsyncRead, AsyncWrite};
170 impl<W: AsyncWrite> AsyncWrite for ZlibEncoder<W> {
184 impl<W: AsyncRead + AsyncWrite> AsyncRead for ZlibEncoder<W> {}
334 impl<W: AsyncWrite> AsyncWrite for ZlibDecoder<W> {
348 impl<W: AsyncRead + AsyncWrite> AsyncRead for ZlibDecoder<W> {}
Dbufread.rs8 use tokio_io::{AsyncRead, AsyncWrite};
129 impl<R: AsyncWrite + BufRead> AsyncWrite for ZlibEncoder<R> {
254 impl<R: AsyncWrite + BufRead> AsyncWrite for ZlibDecoder<R> {
Dread.rs7 use tokio_io::{AsyncRead, AsyncWrite};
127 impl<R: AsyncRead + AsyncWrite> AsyncWrite for ZlibEncoder<R> {
261 impl<R: AsyncWrite + AsyncRead> AsyncWrite for ZlibDecoder<R> {
/external/rust/crates/flate2/src/deflate/
Dwrite.rs7 use tokio_io::{AsyncRead, AsyncWrite};
170 impl<W: AsyncWrite> AsyncWrite for DeflateEncoder<W> {
184 impl<W: AsyncRead + AsyncWrite> AsyncRead for DeflateEncoder<W> {}
335 impl<W: AsyncWrite> AsyncWrite for DeflateDecoder<W> {
349 impl<W: AsyncRead + AsyncWrite> AsyncRead for DeflateDecoder<W> {}
Dbufread.rs8 use tokio_io::{AsyncRead, AsyncWrite};
133 impl<R: AsyncWrite + BufRead> AsyncWrite for DeflateEncoder<R> {
264 impl<R: AsyncWrite + BufRead> AsyncWrite for DeflateDecoder<R> {
Dread.rs7 use tokio_io::{AsyncRead, AsyncWrite};
130 impl<R: AsyncRead + AsyncWrite> AsyncWrite for DeflateEncoder<R> {
262 impl<R: AsyncWrite + AsyncRead> AsyncWrite for DeflateDecoder<R> {
/external/rust/crates/futures-util/src/io/
Dcursor.rs4 use futures_io::{AsyncBufRead, AsyncRead, AsyncSeek, AsyncWrite, IoSlice, IoSliceMut, SeekFrom};
224 impl AsyncWrite for Cursor<&mut [u8]> {
228 impl AsyncWrite for Cursor<&mut Vec<u8>> {
232 impl AsyncWrite for Cursor<Vec<u8>> {
236 impl AsyncWrite for Cursor<Box<[u8]>> {
Dflush.rs3 use futures_io::AsyncWrite;
16 impl<'a, W: AsyncWrite + ?Sized + Unpin> Flush<'a, W> {
23 where W: AsyncWrite + ?Sized + Unpin,
Dclose.rs3 use futures_io::AsyncWrite;
16 impl<'a, W: AsyncWrite + ?Sized + Unpin> Close<'a, W> {
22 impl<W: AsyncWrite + ?Sized + Unpin> Future for Close<'_, W> {
Dbuf_writer.rs3 use futures_io::{AsyncBufRead, AsyncRead, AsyncSeek, AsyncWrite, IoSlice, SeekFrom};
40 impl<W: AsyncWrite> BufWriter<W> {
92 impl<W: AsyncWrite> AsyncWrite for BufWriter<W> {
153 impl<W: AsyncWrite + AsyncSeek> AsyncSeek for BufWriter<W> {
Dwrite_vectored.rs1 use crate::io::AsyncWrite;
17 impl<'a, W: AsyncWrite + ?Sized + Unpin> WriteVectored<'a, W> {
23 impl<W: AsyncWrite + ?Sized + Unpin> Future for WriteVectored<'_, W> {
Dwrite.rs1 use crate::io::AsyncWrite;
17 impl<'a, W: AsyncWrite + ?Sized + Unpin> Write<'a, W> {
23 impl<W: AsyncWrite + ?Sized + Unpin> Future for Write<'_, W> {
Dcopy.rs3 use futures_io::{AsyncRead, AsyncWrite};
37 W: AsyncWrite + Unpin + ?Sized, in copy()
54 impl<R: AsyncRead, W: AsyncWrite + Unpin + ?Sized> Future for Copy<'_, R, W> {
/external/rust/crates/futures/tests/
Dio_write.rs2 use futures::io::AsyncWrite;
17 impl AsyncWrite for MockWriter {
40 use futures::io::AsyncWrite; in write_vectored_no_buffers()
64 use futures::io::AsyncWrite; in write_vectored_first_non_empty()
/external/rust/crates/futures-io/src/
Dlib.rs133 pub trait AsyncWrite { interface
417 impl<T: ?Sized + AsyncWrite + Unpin> AsyncWrite for Box<T> {
421 impl<T: ?Sized + AsyncWrite + Unpin> AsyncWrite for &mut T { impl
425 impl<P> AsyncWrite for Pin<P>
428 P::Target: AsyncWrite,
475 impl AsyncWrite for Vec<u8> {
/external/rust/crates/flate2/src/gz/
Dread.rs7 use tokio_io::{AsyncRead, AsyncWrite};
192 impl<R: AsyncWrite + AsyncRead> AsyncWrite for GzDecoder<R> {
299 impl<R: AsyncWrite + AsyncRead> AsyncWrite for MultiGzDecoder<R> {

1234