Home
last modified time | relevance | path

Searched refs:copy_bidirectional (Results 1 – 6 of 6) sorted by relevance

/external/rust/crates/tokio/tests/
Dio_copy_bidirectional.rs5 use tokio::io::{self, copy_bidirectional, AsyncReadExt, AsyncWriteExt};
50 let handle = tokio::spawn(async move { copy_bidirectional(&mut a1, &mut b1).await }); in symmetric()
56 let handle = tokio::spawn(async move { copy_bidirectional(&mut b1, &mut a1).await }); in symmetric()
128 assert!(copy_bidirectional(&mut a, &mut b).await.is_err()); in immediate_exit_on_write_error()
139 assert!(copy_bidirectional(&mut a, &mut b).await.is_err()); in immediate_exit_on_read_error()
Dasync_send_sync.rs556 tokio::io::copy_bidirectional(&mut TcpStream, &mut TcpStream): Send & Sync & !Unpin
/external/rust/crates/tokio/src/io/util/
Dmod.rs30 mod copy_bidirectional;
31 pub use copy_bidirectional::copy_bidirectional;
Dcopy_bidirectional.rs108 pub async fn copy_bidirectional<A, B>(a: &mut A, b: &mut B) -> Result<(u64, u64), std::io::Error> in copy_bidirectional() function
/external/rust/crates/tokio/src/io/
Dmod.rs266 …copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, As…
/external/rust/crates/tokio/
DCHANGELOG.md821 - io: add assert in `copy_bidirectional` that `poll_write` is sensible ([#4125])
1219 - io: add a `copy_bidirectional` utility ([#3572])