Module stream

Expand description

Stream trait and related utilities.

Modules§

dep
Dependencies for rama stream modules.
layer
Rama middleware services that operate directly on crate::stream::Stream types.
matcher
service::Matchers implementations to match on Sockets.
service
Rama services that operate directly on crate::stream::Stream types.

Structs§

ChainReader
Reader that can be used to chain two readers together.
ClientSocketInfo
Information about the socket on the egress end.
HeapReader
Reader for reading from a heap-allocated bytes buffer.
SocketInfo
Connected socket information.

Traits§

Socket
Common information exposed by a Socket-like construct.
Stream
A stream is a type that implements AsyncRead, AsyncWrite and Send. This is specific to Rama and is directly linked to the supertraits of Tokio.