Trait mesh::local_node::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§