pub async fn register(
link: NodeLink,
handshake: NodeHandshake,
runtime: NodeRuntime,
zero_copy_threshold: u64,
subscribe_to: Vec<DataId>,
) -> Result<Registration>Expand description
Registers over an established link and starts the session.
ยงErrors
NodeError::Registration when the daemon refuses or answers with
something else, NodeError::Timeout when it does not answer at all, and
NodeError::Transport when the link fails mid-handshake.