Struct ckb_network::network::DefaultExitHandler
source · [−]pub struct DefaultExitHandler { /* private fields */ }Expand description
Default exit handle
Implementations
sourceimpl DefaultExitHandler
impl DefaultExitHandler
sourcepub fn wait_for_exit(&self)
pub fn wait_for_exit(&self)
Block on current thread util exit notify
Trait Implementations
sourceimpl Clone for DefaultExitHandler
impl Clone for DefaultExitHandler
sourcefn clone(&self) -> DefaultExitHandler
fn clone(&self) -> DefaultExitHandler
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresourceimpl Default for DefaultExitHandler
impl Default for DefaultExitHandler
sourcefn default() -> DefaultExitHandler
fn default() -> DefaultExitHandler
Returns the “default value” for a type. Read more
sourceimpl ExitHandler for DefaultExitHandler
impl ExitHandler for DefaultExitHandler
sourcefn notify_exit(&self)
fn notify_exit(&self)
notify other module to exit
Auto Trait Implementations
impl !RefUnwindSafe for DefaultExitHandler
impl Send for DefaultExitHandler
impl Sync for DefaultExitHandler
impl Unpin for DefaultExitHandler
impl !UnwindSafe for DefaultExitHandler
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more