pub type GracefulStop = Arc<dyn Fn(&dyn HostLink) -> Result<(), ServiceError> + Send + Sync>;Expand description
The app’s own polite stop request (for example its shutdown method), sent over a freshly
verified connection to the owned host before any signal. An Err is not a failure of the
shutdown: a host that exits as it answers often drops the connection.
Aliased Type§
pub struct GracefulStop { /* private fields */ }