Struct ckb_network::network::DefaultExitHandler
source · pub struct DefaultExitHandler { /* private fields */ }Expand description
Default exit handle
Implementations§
source§impl DefaultExitHandler
impl DefaultExitHandler
sourcepub fn wait_for_exit(&self)
pub fn wait_for_exit(&self)
Block on current thread util exit notify
Trait Implementations§
source§impl Clone for DefaultExitHandler
impl Clone for DefaultExitHandler
source§fn clone(&self) -> DefaultExitHandler
fn clone(&self) -> DefaultExitHandler
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Default for DefaultExitHandler
impl Default for DefaultExitHandler
source§fn default() -> DefaultExitHandler
fn default() -> DefaultExitHandler
Returns the “default value” for a type. Read more
source§impl ExitHandler for DefaultExitHandler
impl ExitHandler for DefaultExitHandler
source§fn notify_exit(&self)
fn notify_exit(&self)
notify other module to exit