next_web_dev/application/
application_shutdown.rs

1use async_trait::async_trait;
2
3#[async_trait]
4pub trait ApplicationShutdown: Send + Sync {
5    fn order(&self) -> u16;
6
7    async fn shutdown(&self);
8}