pub struct NoopDeliveryHandler;Expand description
A no-op DeliveryHandler for sessions that do not run a kernel pager or verify blobs
(such as intermediate partition mapping sessions).
Trait Implementations§
Source§impl DeliveryHandler for NoopDeliveryHandler
impl DeliveryHandler for NoopDeliveryHandler
type Request = NullPageRequest
Source§fn get_page_request(
self: &Arc<Self>,
_key: u64,
_range: Range<u64>,
) -> NullPageRequest
fn get_page_request( self: &Arc<Self>, _key: u64, _range: Range<u64>, ) -> NullPageRequest
Produces a
PageRequest to receive decompressed or uncompressed page 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 downstream verifier.
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 NoopDeliveryHandler
impl RefUnwindSafe for NoopDeliveryHandler
impl Send for NoopDeliveryHandler
impl Sync for NoopDeliveryHandler
impl Unpin for NoopDeliveryHandler
impl UnsafeUnpin for NoopDeliveryHandler
impl UnwindSafe for NoopDeliveryHandler
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
§impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
impl<T, D> Encode<Ambiguous1, D> for Twhere
D: ResourceDialect,
§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