Skip to main content

Module serves

Module serves 

Source
Expand description

The Serves trait — compile-time check that a handler tuple covers an API.

Serves<A> is implemented for tuples of BoundHandler that cover every endpoint in the API type A.

Structs§

SubApi
A wrapper that pairs a sub-API with its handler tuple.

Traits§

Serves
A tuple of bound handlers that fully covers an API specification.