Module models

Module models 

Source
Available on crate features clients or servers only.
Expand description

Common models for all L4 Services.

This mostly includes the Request, and Response structures that services are actively passed, and expected to return.

Structs§

Request
A request that came from either a TCP/UDP source.
Response
Just a generic response on an L4 Layer.

Enums§

Endianness
The endianness of a particular number coming in over the network.
NagleGuard
Nagle guard is what determines when a packet “begins”, and “ends”.

Traits§

FromRef
Used to do reference-to-value conversions thus not consuming the input value.
FromRequest
Extract any value from a Request, finalizing it.
FromRequestParts
Extract any value from a Request, allowing more people to keep using it.
IntoResponse
A blanket trait to implement into a full response.
PostNagleFnTy
A function type that can be used to convert data right before sending it out.
PreNagleFnTy
A function type that can be used to convert before passing onto nagle.