Modules§
- event
- features
- Mio’s optional features.
- guide
- Getting started guide.
- net
- Networking primitives.
- waker
- A waker that wraps
mio::Wakerwith an atomic pending counter to coalesce redundant wake calls into a single syscall.
Structs§
- Connector
- Events
- A collection of readiness events.
- Interest
- Interest used in registering.
- Listener
- Poll
- Polls for readiness events on all registered values.
- Registry
- Registers I/O resources.
- Stream
- A wrapper type that unifies types which represent a stream. For example, plaintext TCP streams and TLS/SSL over TCP can both be wrapped by this type. This allows dynamic behaviors at runtime, such as enabling TLS/SSL through configuration or allowing clients to request an upgrade to TLS/SSL from a plaintext stream.
- TcpConnector
- TcpListener
- TcpStream
- TlsTcp
Acceptor - Provides a wrapped acceptor for server-side TLS.
- TlsTcp
Acceptor Builder - TlsTcp
Connector - Provides a wrapped connector for client-side TLS.
- TlsTcp
Connector Builder - TlsTcp
Stream - Wraps a TLS/SSL stream so that negotiated and handshaking sessions have a uniform type.
- Token
- Associates readiness events with
event::Sources. - Waker
- Waker allows cross-thread waking of
Poll.
Enums§
- Shutdown
- Possible values which can be passed to the
TcpStream::shutdownmethod. - Shutdown
Result