pub enum PeerDegree {
Direct,
OneHop,
TwoHop,
ThreeHop,
}Expand description
Peer degree classification for multi-hop mesh topology
Variants§
Direct
Directly connected via BLE (degree 0)
OneHop
Reachable via 1 hop through a direct peer (degree 1)
TwoHop
Reachable via 2 hops (degree 2)
ThreeHop
Reachable via 3 hops (degree 3)
Implementations§
Trait Implementations§
Source§impl Clone for PeerDegree
impl Clone for PeerDegree
Source§fn clone(&self) -> PeerDegree
fn clone(&self) -> PeerDegree
Returns a duplicate 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 Debug for PeerDegree
impl Debug for PeerDegree
Source§impl PartialEq for PeerDegree
impl PartialEq for PeerDegree
impl Copy for PeerDegree
impl Eq for PeerDegree
impl StructuralPartialEq for PeerDegree
Auto Trait Implementations§
impl Freeze for PeerDegree
impl RefUnwindSafe for PeerDegree
impl Send for PeerDegree
impl Sync for PeerDegree
impl Unpin for PeerDegree
impl UnwindSafe for PeerDegree
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