Struct safe_network::node::Node [−][src]
pub struct Node { /* fields omitted */ }
Expand description
Main node struct.
Implementations
Returns our connection info.
Returns our prefix.
Returns the network’s genesis key.
Starts the node, and runs the main event loop.
Blocks until the node is terminated, which is done
by client sending in a Command
to free it.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for Node
impl !UnwindSafe for Node
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more