pub enum ChainValidationMode {
EveryBlock,
Disabled,
}Expand description
Type of seeding the server will use to find other peers on the network.
Variants§
EveryBlock
Run full chain validation after processing every block.
Disabled
Do not automatically run chain validation during normal block processing.
Trait Implementations§
Source§impl Clone for ChainValidationMode
impl Clone for ChainValidationMode
Source§fn clone(&self) -> ChainValidationMode
fn clone(&self) -> ChainValidationMode
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 Debug for ChainValidationMode
impl Debug for ChainValidationMode
Source§impl Default for ChainValidationMode
impl Default for ChainValidationMode
Source§fn default() -> ChainValidationMode
fn default() -> ChainValidationMode
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ChainValidationMode
impl<'de> Deserialize<'de> for ChainValidationMode
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ChainValidationMode
impl PartialEq for ChainValidationMode
Source§impl Serialize for ChainValidationMode
impl Serialize for ChainValidationMode
impl StructuralPartialEq for ChainValidationMode
Auto Trait Implementations§
impl Freeze for ChainValidationMode
impl RefUnwindSafe for ChainValidationMode
impl Send for ChainValidationMode
impl Sync for ChainValidationMode
impl Unpin for ChainValidationMode
impl UnwindSafe for ChainValidationMode
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<'a, T> DefaultFeatures<'a> for T
impl<'a, T> DefaultFeatures<'a> for T
Source§fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn DefaultFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
impl<'a, T> NonSyncFeatures<'a> for Twhere
T: 'a + Clone,
Source§fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
fn clone_boxed(&self) -> Box<dyn NonSyncFeatures<'a>>
Clone this value, and then immediately put it into a
Box
behind a trait object of this trait.