Expand description
Poll operations and their async helpers.
Structs§
- Accept
Bi - A pending
Session::accept_bi. - Accept
Uni - A pending
Session::accept_uni. - Buffered
- Leases over a transport that cannot keep bytes unconsumed, buffering what it reads.
- Buffered
Lease - A
Leaseof aBufferedstream. - OpenBi
- A pending
Session::open_bi. - OpenUni
- A pending
Session::open_uni. - Read
Chunk - A pending
RecvStream::read_chunk. - Recv
Datagram - A pending
Session::recv_datagram. - Send
Closed - A pending
SendStream::closed. - Send
Options - How an outgoing stream or datagram is scheduled, like W3C WebTransport’s send options.
- Session
Closed - A pending
Session::closed. - Write
- A pending
SendStream::write. - Write
Buf - A pending
SendStream::write_buf. - Write
Chunk - A pending
SendStream::write_chunk.
Enums§
- Ungrouped
- The send group of a transport that has none, which cannot be constructed.
Traits§
- Boxable
- A transport that the async client and server can box: the session, its streams, send groups, and errors are thread-safe. Implemented automatically.
- Chunks
- A receive stream read as plain chunks, whose flow-control credit returns as it reads.
- Lease
- Unreleased bytes borrowed from a
RecvStreambypoll_lease, read as aBuf. - Recv
Stream - An incoming stream, read through leases of the bytes its transport buffers.
- Send
Group - A transport’s send group, from
Session::send_group. - Send
Stream - An outgoing stream with partial writes, priorities, and reset codes.
- Session
- A transport session, shared by reference between the tasks that use it.
Type Aliases§
- BiStreams
- The outgoing and incoming halves of a bidirectional stream.