pub struct NoOp;
Expand description
Special “no-op” verifier for stateless, epoch-less engines.
Trait Implementations
sourceimpl<M: Machine> EpochVerifier<M> for NoOp
impl<M: Machine> EpochVerifier<M> for NoOp
sourcefn verify_light(&self, _header: &Header) -> Result<(), M::Error>
fn verify_light(&self, _header: &Header) -> Result<(), M::Error>
Lightly verify the next block header. This may not be a header belonging to a different epoch. Read more
Auto Trait Implementations
impl RefUnwindSafe for NoOp
impl Send for NoOp
impl Sync for NoOp
impl Unpin for NoOp
impl UnwindSafe for NoOp
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