aboutsummaryrefslogtreecommitdiff
path: root/crates/tor-async-utils/src/join_read_write.rs
Commit message (Collapse)AuthorAgeFilesLines
* JoinReadWrite: Minor docs improvements.Ian Jackson2023-04-061-3/+2
|
* JoinReadWrite: Move the example to the structIan Jackson2023-04-061-23/+25
| | | | This makes it more prominent on the rustdoc page.
* JoinReadWrite: Discuss using .reunite() or .unsplit()Ian Jackson2023-04-061-3/+5
| | | | | | | | | As per https://gitlab.torproject.org/tpo/core/arti/-/merge_requests/1115#note_2894238 And move the "This is the converse" comment to somewhere it actually appears in public docs. The module-level docs only appear with --document-private-items because the modules themselves are private.
* tor-async-utils: Introduce JoinReadWriteIan Jackson2023-04-051-0/+92
I wanted one of these for a test stream. Unaccountably neither the futures crate, nor tokio, seem to have one!