Expand description
Utilities for abstructing io streams
Modules§
Macros§
- forward_
query - forward_
ready - An implementation of [
poll_read/write_ready] that forwards readiness checks to a field. - forward_
shutdown
Structs§
- Base
- Default
Iofilter - Dispatcher
- Dispatcher - is a future that reads frames from bytes stream and pass then to the service.
- Dispatcher
Config - Shared dispatcher configuration
- Filter
Ctx - Filter
Read Status - Framed
- A unified interface to an underlying I/O object, using
the
EncoderandDecodertraits to encode and decode frames.Framedis heavily optimized for streaming io. - Io
- Interface object to underlying io stream
- IoBoxed
- Boxed
Ioobject with erased filter type - IoContext
- Context for io read task
- IoRef
- Layer
- OnDisconnect
- OnDisconnect future resolves when socket get disconnected
- ReadBuf
- Read
Context - Context for io read task
- Sealed
- Sealed filter type
- Timer
Handle - Write
Buf - Write
Context - Context for io write task
- Write
Context Buf - Context buf for io write task
Enums§
- Dispatch
Item - Dispatcher item
- IoStatus
Update - Io status
- IoTask
Status - Status for read task
- Readiness
- Filter ready state
- Recv
Error - Recv error
Traits§
Functions§
- seal
- Service that converts any
Io<F>stream to IoBoxed stream