pub enum DeliveryCommand {
Data {
key: u64,
target_offset: u64,
length: u32,
offset: u32,
},
RegisterBlob {
key: u64,
offset: u32,
length: u32,
read_alignment: u32,
},
ChildData {
parent_offset: u64,
offset: u32,
length: u32,
child_key: u64,
child_target_offset: u64,
in_chunk_offset: u32,
child_length: u32,
},
ChildInlineTail {
parent_byte_offset: u64,
child_key: u64,
child_target_offset: u64,
tail_length: u32,
},
}Variants§
Data
Informs the verifier that data has been read and decompressed into the delivery queue VMO, ready for verification.
Fields
RegisterBlob
Informs the verifier that the blob’s Merkle tree metadata has been transferred to the queue.
Fields
ChildData
Informs the verifier that a parent blob chunk has been read and decompressed into the delivery queue VMO to service a page fault on a child file mapped over that blob.
When length > 0, the verifier first verifies [offset .. offset + length] against the
parent blob’s Merkle tree at parent_offset and supplies child_length bytes from
in_chunk_offset to child_key at child_target_offset.
When length == 0, the child range is sparse and the verifier supplies child_length zero
bytes to child_key at child_target_offset.
Fields
child_target_offset: u64The page-aligned logical byte offset in the child VMO where pages should be supplied.
ChildInlineTail
Header-only command informing the verifier to supply a single inline-tail page to a child
VMO by reading tail_length bytes directly from the verified parent VMO at
parent_byte_offset.
Fields
Trait Implementations§
Source§impl Clone for DeliveryCommand
impl Clone for DeliveryCommand
impl Copy for DeliveryCommand
Source§impl Debug for DeliveryCommand
impl Debug for DeliveryCommand
Source§impl From<DeliveryCommand> for RawDeliveryCommand
impl From<DeliveryCommand> for RawDeliveryCommand
Source§fn from(cmd: DeliveryCommand) -> Self
fn from(cmd: DeliveryCommand) -> Self
Source§impl PartialEq for DeliveryCommand
impl PartialEq for DeliveryCommand
impl StructuralPartialEq for DeliveryCommand
Source§impl TryFrom<RawDeliveryCommand> for DeliveryCommand
impl TryFrom<RawDeliveryCommand> for DeliveryCommand
Auto Trait Implementations§
impl Freeze for DeliveryCommand
impl RefUnwindSafe for DeliveryCommand
impl Send for DeliveryCommand
impl Sync for DeliveryCommand
impl Unpin for DeliveryCommand
impl UnsafeUnpin for DeliveryCommand
impl UnwindSafe for DeliveryCommand
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§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> ⓘ
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> ⓘ
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