pub struct ReconciliationReport<S> {
pub authoritative_tick: u64,
pub predicted_state_at_authoritative_tick: Option<S>,
pub corrected_state: S,
pub replayed_inputs: usize,
pub current_tick: u64,
}Expand description
Result of restoring an authoritative state and replaying unconfirmed inputs.
Fields§
Server Tick represented by the authoritative state.
Local predicted state previously recorded at the authoritative Tick, when retained.
corrected_state: SCorrected present state after replaying every pending input.
replayed_inputs: usizeNumber of unconfirmed inputs replayed.
current_tick: u64Newest local predicted Tick after reconciliation.
Trait Implementations§
Source§impl<S: Clone> Clone for ReconciliationReport<S>
impl<S: Clone> Clone for ReconciliationReport<S>
Source§fn clone(&self) -> ReconciliationReport<S>
fn clone(&self) -> ReconciliationReport<S>
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<S: Debug> Debug for ReconciliationReport<S>
impl<S: Debug> Debug for ReconciliationReport<S>
impl<S: Eq> Eq for ReconciliationReport<S>
Source§impl<S: PartialEq> PartialEq for ReconciliationReport<S>
impl<S: PartialEq> PartialEq for ReconciliationReport<S>
impl<S: PartialEq> StructuralPartialEq for ReconciliationReport<S>
Auto Trait Implementations§
impl<S> Freeze for ReconciliationReport<S>where
S: Freeze,
impl<S> RefUnwindSafe for ReconciliationReport<S>where
S: RefUnwindSafe,
impl<S> Send for ReconciliationReport<S>where
S: Send,
impl<S> Sync for ReconciliationReport<S>where
S: Sync,
impl<S> Unpin for ReconciliationReport<S>where
S: Unpin,
impl<S> UnsafeUnpin for ReconciliationReport<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for ReconciliationReport<S>where
S: UnwindSafe,
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