Skip to main content

Crate nexus_net

Crate nexus_net 

Source
Expand description

nexus-net — low-latency networking primitives.

Buffer types, TLS codec, and wire abstractions for protocol engines.

§Modules

  • buf — Buffer primitives (ReadBuf, WriteBuf, WriteBufWriter)
  • maybe_tls — Plain-or-TLS stream wrapper
  • wireWireStream and ParserSink composition traits
  • tls — TLS codec via rustls (feature: tls)

§Protocol implementations

WebSocket, HTTP, and REST moved to nexus-web in 0.8.0.

Re-exports§

pub use maybe_tls::MaybeTls;
pub use wire::ParserSink;
pub use wire::WireStream;

Modules§

buf
Buffer primitives for network protocol parsing and framing.
maybe_tls
Stream that may or may not be wrapped in TLS (sync only).
tls
TLS codec — sans-IO encrypt/decrypt via rustls.
wire
Composition seam between transports and parsers.