Struct oasis_core_runtime::storage::mkvs::sync::ProofVerifier
source · pub struct ProofVerifier;
Expand description
A proof verifier enables verifying proofs returned by the ReadSyncer API.
Implementations§
source§impl ProofVerifier
impl ProofVerifier
sourcepub fn verify_proof(&self, root: Hash, proof: &Proof) -> Result<NodePtrRef>
pub fn verify_proof(&self, root: Hash, proof: &Proof) -> Result<NodePtrRef>
Verify a proof and generate an in-memory subtree representing the nodes which are included in the proof.
Auto Trait Implementations§
impl Freeze for ProofVerifier
impl RefUnwindSafe for ProofVerifier
impl Send for ProofVerifier
impl Sync for ProofVerifier
impl Unpin for ProofVerifier
impl UnwindSafe for ProofVerifier
Blanket Implementations§
§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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