pub struct PhaseResult {
pub shard_id: ShardId,
pub phase: TickPhase,
pub tick: Tick,
pub cross_shard_edges: Vec<CrossShardEdge>,
pub node_count: usize,
pub edge_count: usize,
}Expand description
Result of completing a tick phase on a shard.
Fields§
§shard_id: ShardIdThe shard that completed this phase.
phase: TickPhaseThe phase that was completed.
tick: TickThe tick number this phase belongs to.
cross_shard_edges: Vec<CrossShardEdge>Cross-shard edges created this phase (need ghost resolution).
node_count: usizeLocal node count after this phase.
edge_count: usizeLocal edge count after this phase.
Trait Implementations§
Source§impl Clone for PhaseResult
impl Clone for PhaseResult
Source§fn clone(&self) -> PhaseResult
fn clone(&self) -> PhaseResult
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 moreSource§impl Debug for PhaseResult
impl Debug for PhaseResult
Source§impl<'de> Deserialize<'de> for PhaseResult
impl<'de> Deserialize<'de> for PhaseResult
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for PhaseResult
impl RefUnwindSafe for PhaseResult
impl Send for PhaseResult
impl Sync for PhaseResult
impl Unpin for PhaseResult
impl UnsafeUnpin for PhaseResult
impl UnwindSafe for PhaseResult
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