Home
last modified time | relevance | path

Searched refs:AsyncReadExt (Results 1 – 25 of 62) sorted by relevance

123

/external/rust/android-crates-io/crates/tokio/tests/
Dio_read_to_string.rs5 use tokio::io::AsyncReadExt;
25 match AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s).await { in to_string_does_not_truncate_on_utf8_error()
42 match AsyncReadExt::read_to_string(&mut mock, &mut s).await { in to_string_does_not_truncate_on_io_error()
57 let len = AsyncReadExt::read_to_string(&mut data.as_slice(), &mut s) in to_string_appends()
Dio_read_to_end.rs6 use tokio::io::{AsyncRead, AsyncReadExt, ReadBuf};
100 AsyncReadExt::read_to_end(&mut mock, &mut buf) in read_to_end_doesnt_grow_with_capacity()
120 AsyncReadExt::read_to_end(&mut mock, &mut buf) in read_to_end_grows_capacity_if_unfit()
Dasync_send_sync.rs607 async_assert_fn!(tokio::io::AsyncReadExt::read(&mut BoxAsyncRead, &mut [u8]): Send & Sync & !Unpin);
608 async_assert_fn!(tokio::io::AsyncReadExt::read_buf(&mut BoxAsyncRead, &mut Vec<u8>): Send & Sync & …
610 tokio::io::AsyncReadExt::read_exact(&mut BoxAsyncRead, &mut [u8]): Send & Sync & !Unpin
612 async_assert_fn!(tokio::io::AsyncReadExt::read_u8(&mut BoxAsyncRead): Send & Sync & !Unpin);
613 async_assert_fn!(tokio::io::AsyncReadExt::read_i8(&mut BoxAsyncRead): Send & Sync & !Unpin);
614 async_assert_fn!(tokio::io::AsyncReadExt::read_u16(&mut BoxAsyncRead): Send & Sync & !Unpin);
615 async_assert_fn!(tokio::io::AsyncReadExt::read_i16(&mut BoxAsyncRead): Send & Sync & !Unpin);
616 async_assert_fn!(tokio::io::AsyncReadExt::read_u32(&mut BoxAsyncRead): Send & Sync & !Unpin);
617 async_assert_fn!(tokio::io::AsyncReadExt::read_i32(&mut BoxAsyncRead): Send & Sync & !Unpin);
618 async_assert_fn!(tokio::io::AsyncReadExt::read_u64(&mut BoxAsyncRead): Send & Sync & !Unpin);
[all …]
Dio_read_exact.rs4 use tokio::io::AsyncReadExt;
Dio_repeat.rs4 use tokio::io::AsyncReadExt;
Dio_chain.rs4 use tokio::io::AsyncReadExt;
Dtcp_shutdown.rs5 use tokio::io::{self, AsyncReadExt, AsyncWriteExt};
Dprocess_kill_on_drop.rs7 use tokio::io::AsyncReadExt;
Dtcp_peek.rs5 use tokio::io::AsyncReadExt;
Duds_split.rs6 use tokio::io::{AsyncRead, AsyncReadExt, AsyncWrite, AsyncWriteExt};
Dtcp_into_std.rs7 use tokio::io::{AsyncReadExt, AsyncWriteExt};
Dtcp_echo.rs5 use tokio::io::{self, AsyncReadExt, AsyncWriteExt};
Dtcp_split.rs9 use tokio::io::{AsyncReadExt, AsyncWriteExt};
Dio_read.rs4 use tokio::io::{AsyncRead, AsyncReadExt, ReadBuf};
Dduplex_stream.rs5 use tokio::io::{AsyncReadExt, AsyncWriteExt};
Dio_take.rs6 use tokio::io::{self, AsyncRead, AsyncReadExt, ReadBuf};
/external/rust/android-crates-io/crates/tokio/src/io/util/
Dasync_read_ext.rs62 pub trait AsyncReadExt: AsyncRead { trait
1430 impl<R: AsyncRead + ?Sized> AsyncReadExt for R {}
Dmod.rs8 pub use async_read_ext::AsyncReadExt;
/external/rust/android-crates-io/crates/futures/src/
Dlib.rs118 pub use futures_util::{AsyncBufReadExt, AsyncReadExt, AsyncSeekExt, AsyncWriteExt};
252 AsyncBufReadExt as _, AsyncReadExt as _, AsyncSeekExt as _, AsyncWriteExt as _,
/external/rust/android-crates-io/crates/tokio-util/src/io/
Dsync_bridge.rs3 AsyncBufRead, AsyncBufReadExt, AsyncRead, AsyncReadExt, AsyncSeek, AsyncSeekExt, AsyncWrite,
40 self.rt.block_on(AsyncReadExt::read(src, buf)) in read()
/external/rust/android-crates-io/crates/futures/tests/
Dio_read_exact.rs2 use futures::io::AsyncReadExt;
Dio_read_to_end.rs3 io::{self, AsyncRead, AsyncReadExt},
Dio_read_to_string.rs3 use futures::io::{AsyncReadExt, Cursor};
/external/rust/android-crates-io/crates/tokio-util/tests/
Dio_stream_reader.rs4 use tokio::io::AsyncReadExt;
Dcompat.rs6 use futures_util::{AsyncReadExt, AsyncSeekExt, AsyncWriteExt};

123