Struct safe_network::node::Node [−][src]
pub struct Node { /* fields omitted */ }
Expand description
Main node struct.
Implementations
Returns our connection info.
Returns our prefix.
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
type Output = T
type Output = T
Should always be Self
pub fn vzip(self) -> V