Enum ethcore::verification::VerifierType
[−]
[src]
pub enum VerifierType { Canon, CanonNoSeal, Noop, }
Verifier type.
Variants
Canon
Verifies block normally.
CanonNoSeal
Verifies block normallly, but skips seal verification.
Noop
Does not verify block at all. Used in tests.
Methods
impl VerifierType
[src]
impl VerifierType
pub fn verifying_seal(&self) -> bool
[src]
pub fn verifying_seal(&self) -> bool
Check if seal verification is enabled for this verifier type.
Trait Implementations
impl Debug for VerifierType
[src]
impl Debug for VerifierType
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for VerifierType
[src]
impl PartialEq for VerifierType
fn eq(&self, __arg_0: &VerifierType) -> bool
[src]
fn eq(&self, __arg_0: &VerifierType) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Clone for VerifierType
[src]
impl Clone for VerifierType
fn clone(&self) -> VerifierType
[src]
fn clone(&self) -> VerifierType
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Default for VerifierType
[src]
impl Default for VerifierType
Auto Trait Implementations
impl Send for VerifierType
impl Send for VerifierType
impl Sync for VerifierType
impl Sync for VerifierType