pub struct Verifier { /* private fields */ }Expand description
Manages data verification and page supply via the delivery queue VMO.
Implementations§
Trait Implementations§
Source§impl DeliveryHandler for Verifier
impl DeliveryHandler for Verifier
Source§fn get_page_request(
self: &Arc<Self>,
key: u64,
original_range: Range<u64>,
) -> Buffer
fn get_page_request( self: &Arc<Self>, key: u64, original_range: Range<u64>, ) -> Buffer
Returns a PageRequest implementation for delivering page-in data.
Source§fn register_blob(
&self,
key: u64,
merkle_leaves: &[[u8; 32]],
) -> Result<(), Error>
fn register_blob( &self, key: u64, merkle_leaves: &[[u8; 32]], ) -> Result<(), Error>
Registers a blob’s Merkle tree leaf hashes with the verifier via the delivery queue.
type Request = Buffer
Source§fn unregister_file(&self, _key: u64)
fn unregister_file(&self, _key: u64)
Unregisters a file when it is closed.
Auto Trait Implementations§
impl !Freeze for Verifier
impl !RefUnwindSafe for Verifier
impl Send for Verifier
impl Sync for Verifier
impl Unpin for Verifier
impl UnsafeUnpin for Verifier
impl UnwindSafe for Verifier
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, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
Source§impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous2, D> for Twhere
D: ResourceDialect,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more