embassy-sync

Crates

0.6.0

Versions

default

Flavors

Module pipe

Source
Expand description

Async byte stream pipe.

Structs§

FillBufFuture
Future returned by [Pipe::fill_buf] and Reader::fill_buf.
Pipe
A bounded byte-oriented pipe for communicating between asynchronous tasks with backpressure.
ReadFuture
Future returned by Pipe::read and Reader::read.
Reader
Read-only access to a Pipe.
WriteFuture
Future returned by Pipe::write and Writer::write.
Writer
Write-only access to a Pipe.

Enums§

TryReadError
Error returned by try_read.
TryWriteError
Error returned by try_write.