net-mesh 0.23.0

High-performance, schema-agnostic, backend-agnostic event bus
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
//! Layer 3: Subnets & Hierarchy for Net.
//!
//! Subnets are label-based — nodes belong by identity/capability, not
//! static configuration. The hierarchy is encoded as 4 levels of 8 bits
//! each in the `subnet_id: u32` header field. Gateway nodes enforce
//! visibility policy at subnet boundaries.

mod assignment;
mod error;
mod gateway;
mod id;

pub use assignment::{SubnetPolicy, SubnetRule};
pub use error::SubnetError;
pub use gateway::{DropReason, ForwardDecision, SubnetGateway};
pub use id::SubnetId;