Expand description
IO streaming utilities.
Modules§
- cfg
- I/O buffer, timeout, and frame-rate configuration.
- testing
- In-memory I/O transport and helpers for tests.
- types
- Values exposed through transport and filter queries.
Macros§
- forward_
query - Implements
Filter::queryby forwarding to a field. - forward_
ready - Implements
Filter::poll_read_readyandFilter::poll_write_readyby forwarding readiness checks to a field. - forward_
shutdown - Implements
Filter::shutdownby forwarding to a field.
Structs§
- Base
- Base filter that connects a filter chain to the underlying transport.
- Decoded
- Result of a single decode attempt.
- Dispatcher
- Future that dispatches decoded transport frames to a service.
- Filter
Buf - Buffers and connection state adjacent to one
FilterLayer. - Filter
Ctx - Context used while traversing a complete filter chain.
- Flags
- Framed
- A codec-driven interface to an underlying I/O stream.
- Id
- Opaque identifier assigned to a registered I/O stream.
- Io
- Buffered, filterable interface to an underlying I/O stream.
- IoBoxed
- An
Ioobject whose filter-chain type has been erased. - IoConfig
- Shared configuration for an
crate::Iostream. - IoContext
- Connection context shared with transport read and write tasks.
- IoRef
- A cheap, cloneable handle to an
Ioconnection. - Layer
- One processing layer wrapped around an existing filter chain.
- Sealed
- Type-erased filter chain used by
IoBoxed. - Timer
Handle - Handle to an I/O dispatcher timer.
- Waiter
- A waiter registered for a tag of the I/O stream.
Enums§
- Control
- Write-side flow-control notification.
- Dispatch
Item - Event delivered to the dispatcher service.
- IoStatus
Update - I/O status update events.
- IoTask
Status - Current status of the I/O state.
- Readiness
- Filter readiness state.
- Reason
- Reason a dispatcher is stopping.
- Recv
Error - Errors that can occur while receiving data.