pub struct DistributedTickResult {
pub tick: u64,
pub phase_results: Vec<PhaseResult>,
pub cross_shard_edges: Vec<CrossShardEdge>,
}Expand description
Result of a distributed tick.
Fields§
§tick: u64The tick number after completion.
phase_results: Vec<PhaseResult>Results from each phase.
cross_shard_edges: Vec<CrossShardEdge>Cross-shard edges created this tick.
Implementations§
Source§impl DistributedTickResult
impl DistributedTickResult
Sourcepub fn total_nodes(&self) -> usize
pub fn total_nodes(&self) -> usize
Get the total number of nodes across all shards after this tick.
Sourcepub fn total_edges(&self) -> usize
pub fn total_edges(&self) -> usize
Get the total number of edges across all shards after this tick.
Sourcepub fn has_cross_shard_activity(&self) -> bool
pub fn has_cross_shard_activity(&self) -> bool
Check if any cross-shard communication occurred this tick.
Trait Implementations§
Source§impl Clone for DistributedTickResult
impl Clone for DistributedTickResult
Source§fn clone(&self) -> DistributedTickResult
fn clone(&self) -> DistributedTickResult
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for DistributedTickResult
impl RefUnwindSafe for DistributedTickResult
impl Send for DistributedTickResult
impl Sync for DistributedTickResult
impl Unpin for DistributedTickResult
impl UnsafeUnpin for DistributedTickResult
impl UnwindSafe for DistributedTickResult
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