Expand description
Utilities for abstructing io streams
Re-exports§
pub use self::utils::Decoded;
Modules§
Structs§
- Base
- Default
Io
filter - Dispatcher
- Dispatcher - is a future that reads frames from bytes stream and pass then to the service.
- Dispatcher
Config - Shared dispatcher configuration
- Framed
- A unified interface to an underlying I/O object, using
the
Encoder
andDecoder
traits to encode and decode frames.Framed
is heavily optimized for streaming io. - Io
- Interface object to underlying io stream
- IoBoxed
- Boxed
Io
object with erased filter type - 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
- Read
Status - Status for read task
- Recv
Error - Recv error
- Write
Status - Status for write task
Traits§
Functions§
- seal
- Service that converts any Io
stream to IoBoxed stream