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
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 Freeze for ProvideExtraSnapshotSyncConfig
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
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.