#[repr(u8)]pub enum MeshTier {
Enterprise = 0,
Regional = 1,
Tactical = 2,
Edge = 3,
}Expand description
Tier classification for mesh nodes.
Mirrors the distribution hierarchy used by peat-registry for artifact routing. Lower ordinal = higher trust / more resources.
Variants§
Enterprise = 0
Tier 0 — enterprise data center, source of truth.
Regional = 1
Tier 1 — regional hub, caches from enterprise.
Tactical = 2
Tier 2 — tactical node, intermittent connectivity.
Edge = 3
Tier 3 — edge device, minimal storage.
Implementations§
Trait Implementations§
Source§impl Ord for MeshTier
impl Ord for MeshTier
Source§impl PartialOrd for MeshTier
impl PartialOrd for MeshTier
impl Copy for MeshTier
impl Eq for MeshTier
impl StructuralPartialEq for MeshTier
Auto Trait Implementations§
impl Freeze for MeshTier
impl RefUnwindSafe for MeshTier
impl Send for MeshTier
impl Sync for MeshTier
impl Unpin for MeshTier
impl UnsafeUnpin for MeshTier
impl UnwindSafe for MeshTier
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.