/// Prepare [`Manager`] for shutdown process
///
/// Internally persists snapshot instance and outputs error message
/// in case anything goes wrong
///
/// Though not recommended to be done, this method can be called multiple times
Prepare [`Manager`] for shutdown process
Internally persists snapshot instance and outputs error message
in case anything goes wrong

Though not recommended to be done, this method can be called multiple times
Prepare [ ` Manager ` ] for shutdown process Internally persists snapshot instance and outputs error message in case anything goes wrong Though not recommended to be done this method can be called multiple times
pub async fn shutdown(&self) {
        if let Err(e) = self.snapshot().await {
            error!("Error happened during shutdown: {}", e)
        }
    }
pub async fn shutdown ( & self ) { if let Err ( e ) = self . snapshot ( ) . await { error ! ( " " e ) } }
Prepare [`Manager`] for shutdown process
Internally persists snapshot instance and outputs error message
in case anything goes wrong
Prepare [ ` Manager ` ] for shutdown process Internally persists snapshot instance and outputs error message in case anything goes wrong
&self