Searched refs:copy_bidirectional (Results 1 – 6 of 6) sorted by relevance
/external/rust/crates/tokio/tests/ |
D | io_copy_bidirectional.rs | 5 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()
|
D | async_send_sync.rs | 556 tokio::io::copy_bidirectional(&mut TcpStream, &mut TcpStream): Send & Sync & !Unpin
|
/external/rust/crates/tokio/src/io/util/ |
D | mod.rs | 30 mod copy_bidirectional; 31 pub use copy_bidirectional::copy_bidirectional;
|
D | copy_bidirectional.rs | 108 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/ |
D | mod.rs | 266 …copy, copy_bidirectional, copy_buf, duplex, empty, repeat, sink, AsyncBufReadExt, AsyncReadExt, As…
|
/external/rust/crates/tokio/ |
D | CHANGELOG.md | 821 - io: add assert in `copy_bidirectional` that `poll_write` is sensible ([#4125]) 1219 - io: add a `copy_bidirectional` utility ([#3572])
|