Skip to main content

Module rest

Module rest 

Source

Re-exports§

pub use routers::*;

Modules§

routers

Structs§

AnonymousAuthenticator
Authenticator that always marks the recipient as anonymous.
AuthenticationLayer
Layer that applies the AuthenticationMiddleware.
AuthenticationMiddleware
Middleware that authenticates requests using the given Authenticator.
ValidationLayer
Layer that applies ValidationMiddleware to a service.
ValidationMiddleware
Middleware that rejects requests whose Content-Length header exceeds [MAX_BODY_SIZE].

Traits§

Authenticator
Authenticator for authenticating requests to a sharing server.

Functions§

max_results_clamp
Clamp max_results to at most max, converting i32 to usize.