pub enum Topology {
Hierarchical,
Mesh,
Hybrid,
}Expand description
Supported swarm topology types
Variants§
Hierarchical
Tree-based coordination with leader election
Mesh
Peer-to-peer communication with gossip protocol
Hybrid
Combines hierarchical and mesh patterns
Implementations§
Trait Implementations§
impl Copy for Topology
impl Eq for Topology
impl StructuralPartialEq for Topology
Auto Trait Implementations§
impl Freeze for Topology
impl RefUnwindSafe for Topology
impl Send for Topology
impl Sync for Topology
impl Unpin for Topology
impl UnwindSafe for Topology
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