pub enum NodeType {
Master,
Auxiliary,
}Expand description
The type of node in the Delta network.
A NodeType can be:
Master: Represents the primary node that can manage and coordinate with auxiliary nodes.Auxiliary: Represents a secondary node that connects to and syncs with the master node.
Variants§
Auto Trait Implementations§
impl Freeze for NodeType
impl RefUnwindSafe for NodeType
impl Send for NodeType
impl Sync for NodeType
impl Unpin for NodeType
impl UnwindSafe for NodeType
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