pub struct CommActorRoutingTree {
pub delivered: HashMap<usize, Vec<usize>>,
pub visited: HashSet<usize>,
pub forwards: HashMap<usize, Vec<RoutingFrame>>,
}Expand description
Captures the logical structure of a CommActor multicast operation.
This type models how a message is delivered and forwarded through a mesh under CommActor routing semantics. It is used in tests to verify path determinism and understand message propagation behavior.
delivered: ranks where the message was delivered (postcalled)visited: all ranks that participated, including forwarding onlyforwards: maps each rank to the routing frames it forwarded
Fields§
§delivered: HashMap<usize, Vec<usize>>§visited: HashSet<usize>§forwards: HashMap<usize, Vec<RoutingFrame>>Map from rank → routing frames this rank forwarded to other ranks.
Trait Implementations§
Source§impl Default for CommActorRoutingTree
impl Default for CommActorRoutingTree
Source§fn default() -> CommActorRoutingTree
fn default() -> CommActorRoutingTree
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for CommActorRoutingTree
impl RefUnwindSafe for CommActorRoutingTree
impl Send for CommActorRoutingTree
impl Sync for CommActorRoutingTree
impl Unpin for CommActorRoutingTree
impl UnwindSafe for CommActorRoutingTree
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> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more