pub struct ReplayMismatch {
pub tick: u64,
pub checksum: ReplayChecksum,
pub expected: u64,
pub actual: u64,
}Expand description
The first divergence observed since starting, seeking, or resetting playback.
State checksums are game-defined. Input checksums describe the original input
bytes, before any simulation step. See Playback for a verification example.
Fields§
§tick: u64§checksum: ReplayChecksum§expected: u64§actual: u64Trait Implementations§
Source§impl Clone for ReplayMismatch
impl Clone for ReplayMismatch
Source§fn clone(&self) -> ReplayMismatch
fn clone(&self) -> ReplayMismatch
Returns a duplicate of the value. Read more
1.0.0 · 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 ReplayMismatch
impl Debug for ReplayMismatch
Source§impl Display for ReplayMismatch
impl Display for ReplayMismatch
Source§impl Error for ReplayMismatch
impl Error for ReplayMismatch
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
Source§impl PartialEq for ReplayMismatch
impl PartialEq for ReplayMismatch
impl Copy for ReplayMismatch
impl Eq for ReplayMismatch
impl StructuralPartialEq for ReplayMismatch
Auto Trait Implementations§
impl Freeze for ReplayMismatch
impl RefUnwindSafe for ReplayMismatch
impl Send for ReplayMismatch
impl Sync for ReplayMismatch
impl Unpin for ReplayMismatch
impl UnwindSafe for ReplayMismatch
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