Trait Connect
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.
pub trait Connect: Send + Sync {
// Required method
fn connect(&self, node_id: NodeId, handle: RemoteNodeHandle);
}
Trait for establishing a connection to a remote node.