mesh_node::local_node

Trait Connect

Source
pub trait Connect: Send + Sync {
    // Required method
    fn connect(&self, node_id: NodeId, handle: RemoteNodeHandle);
}
Expand description

Trait for establishing a connection to a remote node.

Required Methods§

Source

fn connect(&self, node_id: NodeId, handle: RemoteNodeHandle)

Implementors§