Enum ractor_cluster::node::NodeConnectionMode
source · pub enum NodeConnectionMode {
Transitive,
Isolated,
}
Expand description
Node connection mode from the Erlang specification. f a node A connects to node B, and node B has a connection to node C, then node A also tries to connect to node C
Variants§
Transitive
Transitive connection mode. Node A connecting to Node B will list Node B’s peers and try and connect to those as well
Isolated
Nodes only connect to peers which are manually specified
Trait Implementations§
source§impl Clone for NodeConnectionMode
impl Clone for NodeConnectionMode
source§fn clone(&self) -> NodeConnectionMode
fn clone(&self) -> NodeConnectionMode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Default for NodeConnectionMode
impl Default for NodeConnectionMode
impl Copy for NodeConnectionMode
Auto Trait Implementations§
impl Freeze for NodeConnectionMode
impl RefUnwindSafe for NodeConnectionMode
impl Send for NodeConnectionMode
impl Sync for NodeConnectionMode
impl Unpin for NodeConnectionMode
impl UnwindSafe for NodeConnectionMode
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more