Enum ethcore::verification::VerifierType
source · [−]pub enum VerifierType {
Canon,
CanonNoSeal,
Noop,
}
Expand description
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.
Implementations
sourceimpl VerifierType
impl VerifierType
sourcepub fn verifying_seal(&self) -> bool
pub fn verifying_seal(&self) -> bool
Check if seal verification is enabled for this verifier type.
Trait Implementations
sourceimpl Clone for VerifierType
impl Clone for VerifierType
sourcefn clone(&self) -> VerifierType
fn clone(&self) -> VerifierType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for VerifierType
impl Debug for VerifierType
sourceimpl PartialEq<VerifierType> for VerifierType
impl PartialEq<VerifierType> for VerifierType
impl StructuralPartialEq for VerifierType
Auto Trait Implementations
impl RefUnwindSafe for VerifierType
impl Send for VerifierType
impl Sync for VerifierType
impl Unpin for VerifierType
impl UnwindSafe for VerifierType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more