Struct exocore_chain::engine::SyncState [−][src]
pub struct SyncState { pub pending_last_cleanup_block: Option<(BlockOffset, BlockHeight)>, }
Expand description
State of the synchronization, used to communicate information between the
ChainSynchronizer
, CommitManager
and PendingSynchronizer
.
Fields
pending_last_cleanup_block: Option<(BlockOffset, BlockHeight)>
Indicates what is the last block that got cleaned up from pending store,
and that is now only available from the chain. This is used by the
PendingSynchronizer
to know which operations it should not include
anymore in its requests.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for SyncState
impl UnwindSafe for SyncState
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn clone_any_send(&self) -> Box<dyn CloneAny + Send + 'static, Global> where
T: Send,
pub fn clone_any_sync(&self) -> Box<dyn CloneAny + Sync + 'static, Global> where
T: Sync,
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
type Output = T
type Output = T
Should always be Self