Skip to main content

Crate pelikan_net

Crate pelikan_net 

Source

Modules§

event
features
Mio’s optional features.
guide
Getting started guide.
net
Networking primitives.
waker
A waker that wraps mio::Waker with 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
TlsTcpAcceptor
Provides a wrapped acceptor for server-side TLS.
TlsTcpAcceptorBuilder
TlsTcpConnector
Provides a wrapped connector for client-side TLS.
TlsTcpConnectorBuilder
TlsTcpStream
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::shutdown method.
ShutdownResult