Expand description
Defines types for passing request state through Middleware
and Handler
implementations
Structs
Traits
A trait for accessing data that is stored in
State
.A marker trait for types that can be stored in
State
.Functions
Returns the client
SocketAddr
as reported by hyper, if one was present. Certain connections
do not report a client address, in which case this will return None
.Returns the request ID associated with the current request.