Module graceful

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