Function connect

Source
pub fn connect(
    node: &mut Node,
    nid: NodeId,
    addr: Address,
    timeout: Duration,
) -> Result<()>