hyper_util::server

Module graceful

Source
Available on crate features server and server-graceful only.
Expand description

Utility to gracefully shutdown a server.

This module provides a GracefulShutdown type, which can be used to gracefully shutdown a server.

See https://github.com/hyperium/hyper-util/blob/master/examples/server_graceful.rs for an example of how to use this.

Structs§

Traits§