pub struct TickStatus {
pub tick: u64,
pub phase: TickPhase,
pub completed_shards: Vec<ShardId>,
pub pending_shards: Vec<ShardId>,
pub tick_complete: bool,
}Expand description
Status of the current tick across all shards.
Fields§
§tick: u64Current tick number.
phase: TickPhaseCurrent phase being executed.
completed_shards: Vec<ShardId>Shards that have completed the current phase.
pending_shards: Vec<ShardId>Shards that are still processing.
tick_complete: boolWhether the tick is complete.
Trait Implementations§
Source§impl Clone for TickStatus
impl Clone for TickStatus
Source§fn clone(&self) -> TickStatus
fn clone(&self) -> TickStatus
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 TickStatus
impl Debug for TickStatus
Source§impl<'de> Deserialize<'de> for TickStatus
impl<'de> Deserialize<'de> for TickStatus
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 TickStatus
impl RefUnwindSafe for TickStatus
impl Send for TickStatus
impl Sync for TickStatus
impl Unpin for TickStatus
impl UnsafeUnpin for TickStatus
impl UnwindSafe for TickStatus
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