Trait ckb_network::network::ExitHandler
source · pub trait ExitHandler: Send + Unpin + 'static {
// Required method
fn notify_exit(&self);
}
Expand description
Exit trait used to notify all other module to exit
Required Methods§
sourcefn notify_exit(&self)
fn notify_exit(&self)
notify other module to exit