Struct routing::NodeBuilder [] [src]

pub struct NodeBuilder { /* fields omitted */ }

A builder to configure and create a new Node.

Methods

impl NodeBuilder
[src]

[src]

Configures the node to use the given request cache.

[src]

Configures the node to start a new network instead of joining an existing one.

[src]

The node will use the configuration options from config rather than defaults.

[src]

Creates new Node.

It will automatically connect to the network in the same way a client does, but then request a new name and integrate itself into the network using the new name.

The initial Node object will have newly generated keys.