[][src]Crate stakker_mio

Integrates mio into Stakker.

MioPoll is the main type. It handles polling and converting mio events into Stakker forward calls. It offers priority levels to allow some events to take priority over others. In addition token cleanup is handled through drop handlers.

TcpStreamBuf makes it easier to do buffering for a mio::net::TcpStream.

FdSource wraps an arbitrary UNIX file descriptor for use with MioPoll.

The mio version used by this library is re-exported as stakker_mio::mio. This should be used by applications in place of importing mio directly, to make sure they're using the same version.

Re-exports

pub use mio;

Structs

FdSource

Evented instance to handle an arbitrary UNIX file descriptor

MioPoll

Ref-counting wrapper around a mio Poll instance

MioSource

Wrapper for a mio Source instance

Ready

Readiness information from mio

TcpStreamBuf

Type to aid with managing a mio::net::TcpStream along with MioPoll

Enums

ReadStatus

Result of a TcpStreamBuf::read operation