pub enum ProvideExtraSnapshotSyncConfig {
StableCheckpoint,
EpochNearestMultipleOf(u32),
}
Variants§
StableCheckpoint
Keep the snapshot at the same epoch as the checkpoint. TODO: This config will be removed when there is a more reasonable snapshot sync point.
EpochNearestMultipleOf(u32)
Implementations§
Trait Implementations§
source§impl Clone for ProvideExtraSnapshotSyncConfig
impl Clone for ProvideExtraSnapshotSyncConfig
source§fn clone(&self) -> ProvideExtraSnapshotSyncConfig
fn clone(&self) -> ProvideExtraSnapshotSyncConfig
Returns a copy 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 PartialEq for ProvideExtraSnapshotSyncConfig
impl PartialEq for ProvideExtraSnapshotSyncConfig
source§fn eq(&self, other: &ProvideExtraSnapshotSyncConfig) -> bool
fn eq(&self, other: &ProvideExtraSnapshotSyncConfig) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ProvideExtraSnapshotSyncConfig
impl StructuralPartialEq for ProvideExtraSnapshotSyncConfig
Auto Trait Implementations§
impl RefUnwindSafe for ProvideExtraSnapshotSyncConfig
impl Send for ProvideExtraSnapshotSyncConfig
impl Sync for ProvideExtraSnapshotSyncConfig
impl Unpin for ProvideExtraSnapshotSyncConfig
impl UnwindSafe for ProvideExtraSnapshotSyncConfig
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