Skip to main content

Crate ntex_io

Crate ntex_io 

Source
Expand description

Utilities for abstructing io streams

Re-exports§

pub use self::cfg::IoConfig;

Modules§

cfg
testing
utilities and helpers for testing
types
Query related types

Macros§

forward_query
forward_ready
An implementation of [poll_read/write_ready] that forwards readiness checks to a field.
forward_shutdown

Structs§

Base
Default Io filter
FilterBuf
FilterCtx
Framed
A unified interface to an underlying I/O stream.
Id
Io
Interface object to the underlying I/O stream
IoBoxed
Boxed Io object with erased filter type
IoContext
Context for io read task
IoRef
Layer
OnDisconnect
The OnDisconnect future resolves when the I/O stream is disconnected.
Sealed
Sealed filter type
TimerHandle

Enums§

IoStatusUpdate
I/O status update events.
IoTaskStatus
Current status of the I/O state.
Readiness
Filter readiness state.
RecvError
Errors that can occur while receiving data.

Traits§

Filter
FilterLayer
Handle
IoStream

Functions§

seal
Service that converts any Io<F> stream to IoBoxed stream