pub struct NetworkAnalysis {
pub per_role: BTreeMap<String, GraphProto>,
pub wire_edges: Vec<WireEdge>,
}Expand description
Output of the partition pass: per-role sub-graphs + cross-role
edges. Each cross-partition edge appears as a user-authored
wire::Send / synthesized wire::Recv NodeProto inside the
per-role sub-graphs; wire_edges carries the matching
per-edge metadata (producer/consumer roles, transport kind).
Fields§
§per_role: BTreeMap<String, GraphProto>One entry per BB-Node partition. Single-Node Modules yield one entry; federated Modules yield one per wire-op-bounded partition.
wire_edges: Vec<WireEdge>Cross-role edges paired by sender index - one entry per
Send/Recv pair discovered after synthesize_wire_recvs.
super::analyze_wire_edges::analyze_wire_edges reads this
to classify each edge’s transport and assign batch ids.
Trait Implementations§
Source§impl Debug for NetworkAnalysis
impl Debug for NetworkAnalysis
Source§impl Default for NetworkAnalysis
impl Default for NetworkAnalysis
Source§fn default() -> NetworkAnalysis
fn default() -> NetworkAnalysis
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for NetworkAnalysis
impl RefUnwindSafe for NetworkAnalysis
impl Send for NetworkAnalysis
impl Sync for NetworkAnalysis
impl Unpin for NetworkAnalysis
impl UnsafeUnpin for NetworkAnalysis
impl UnwindSafe for NetworkAnalysis
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