Module serve

Module serve 

Source
Available on crate feature tokio and (crate features http1 or http2) only.
Expand description

Serve services.

Structs§

IncomingStream
An incoming stream.
Serve
Future returned by serve.
TapIo
Return type of ListenerExt::tap_io.
WithGracefulShutdown
Serve future with graceful shutdown enabled.

Traits§

Listener
Types that can listen for connections.
ListenerExt
Extensions to Listener.

Functions§

serve
Serve the service with the supplied listener.