Enum crystalorb::client::ReconciliationStatus [−][src]
pub enum ReconciliationStatus { AwaitingSnapshot, Fastforwarding(FastforwardingHealth), Blending(f64), }
Expand description
The client needs to perform different behaviours at different times. For example, the client cannot reconcile with the server before receing a snapshot from the server. The client cannot blend the snapshot into the current world state until the snapshot state has been fastforwarded to the correct timestamp (since server snapshots are always behind the client’s state).
Variants
This is the status when the previous snapshot has been fully blended in, and the client is now waiting for the next snapshot to be applied.
Fastforwarding(FastforwardingHealth)
This is the status when a snapshot is taken from the snapshot queue and the client is now in the process of bringing that snapshot state on par with the client’s existing timestamp.
Blending(f64)
This is the status when the snapshot timestamp now matches the client’s timestamp, and the
client is now in the process of blending the snapshot into the client’s display state.
The f64
value describes the current interpolation parameter used for blending the old and
new display states together, ranging from 0.0
(meaning use the old state) to 1.0
(meaning use the new state).
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ReconciliationStatus
impl Send for ReconciliationStatus
impl Sync for ReconciliationStatus
impl Unpin for ReconciliationStatus
impl UnwindSafe for ReconciliationStatus