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§
impl Eq for ProvideExtraSnapshotSyncConfig
impl StructuralPartialEq for ProvideExtraSnapshotSyncConfig
Auto Trait Implementations§
impl Forget for ProvideExtraSnapshotSyncConfig
impl Freeze for ProvideExtraSnapshotSyncConfig
impl Move for ProvideExtraSnapshotSyncConfig
impl RefUnwindSafe for ProvideExtraSnapshotSyncConfig
impl Send for ProvideExtraSnapshotSyncConfig
impl Sync for ProvideExtraSnapshotSyncConfig
impl Unpin for ProvideExtraSnapshotSyncConfig
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ElementSatisfy<ElementNoConstrain> for T
impl<T> ElementSatisfy<ElementNoConstrain> for T
fn to_constrain_object(&self) -> &ElementNoConstrain
fn to_constrain_object_mut(&mut self) -> &mut ElementNoConstrain
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.