Module layer

Expand description

Rama middleware services that operate directly on crate::stream::Stream types.

Examples are services that can operate directly on a TCP, TLS or UDP stream.

Modules§

http
Layers that can be used to configure the HTTP Server that will handle the application logic of the stream.
opentelemetry
Http OpenTelemetry Layer Support for Rama.

Structs§

BytesRWTrackerHandle
A handle to a tracker that can be used to get the number of bytes read and/or written even though the tracker is consumed by a protocol consumer.
IncomingBytesTrackerLayer
A Layer that wraps a Service’s input IO Stream with an atomic R/W tracker.
IncomingBytesTrackerService
A Service that wraps a Service’s input IO Stream with an atomic R/W tracker.
OutgoingBytesTrackerLayer
A Layer that wraps a Service’s output IO Stream with an atomic R/W tracker.
OutgoingBytesTrackerService
A Service that wraps a Service’s output IO Stream with an atomic R/W tracker.