pub struct TurnCheckpoint { /* private fields */ }Expand description
Durable turn boundary reconstructed during replay.
Implementations§
Source§impl TurnCheckpoint
impl TurnCheckpoint
Sourcepub const fn sequence(&self) -> SessionSequence
pub const fn sequence(&self) -> SessionSequence
Returns the authoritative sequence.
Sourcepub const fn next_action(&self) -> NextTurnAction
pub const fn next_action(&self) -> NextTurnAction
Returns the next action allowed by the checkpoint.
Trait Implementations§
Source§impl Clone for TurnCheckpoint
impl Clone for TurnCheckpoint
Source§fn clone(&self) -> TurnCheckpoint
fn clone(&self) -> TurnCheckpoint
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 TurnCheckpoint
impl Debug for TurnCheckpoint
impl Eq for TurnCheckpoint
Source§impl PartialEq for TurnCheckpoint
impl PartialEq for TurnCheckpoint
impl StructuralPartialEq for TurnCheckpoint
Auto Trait Implementations§
impl Freeze for TurnCheckpoint
impl RefUnwindSafe for TurnCheckpoint
impl Send for TurnCheckpoint
impl Sync for TurnCheckpoint
impl Unpin for TurnCheckpoint
impl UnsafeUnpin for TurnCheckpoint
impl UnwindSafe for TurnCheckpoint
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