Trait bitcoinnode_interface::FinalizeNode
source · pub trait FinalizeNode {
// Required method
fn finalize_node(
&mut self,
node: &mut AmoWriteGuard<'_, Box<dyn NodeInterface>>
);
}
Required Methods§
sourcefn finalize_node(
&mut self,
node: &mut AmoWriteGuard<'_, Box<dyn NodeInterface>>
)
fn finalize_node( &mut self, node: &mut AmoWriteGuard<'_, Box<dyn NodeInterface>> )
| Handle removal of a peer (clear state) |