pub struct PlannedChunkRange {Show 25 fields
pub bundle_key: String,
pub bundle_offset: u64,
pub bundle_length: u64,
pub family: Family,
pub entry_index: u32,
pub total_entry_count: u32,
pub mode: u16,
pub entry_flags: u32,
pub codec: u16,
pub descriptor_id: u32,
pub data_offset: u64,
pub data_length: u64,
pub decoded_bytes: u64,
pub meta_offset: u64,
pub meta_length: u64,
pub hmc_data_range: Range<u64>,
pub hmc_meta_range: Range<u64>,
pub payload_blake3: [u8; 32],
pub meta_crc32c: u32,
pub entry_crc32c: u32,
pub header_crc32c: u32,
pub parent_header_digest: [u8; 32],
pub index_commitment: [u8; 32],
pub raw_header_bytes: [u8; 128],
pub raw_directory_entry_bytes: [u8; 128],
}Expand description
Planned .hmc byte ranges and authenticated cryptographic commitments for one chunk entry.
Fields§
§bundle_key: String§bundle_offset: u64§bundle_length: u64§family: Family§entry_index: u32§total_entry_count: u32§mode: u16§entry_flags: u32§codec: u16§descriptor_id: u32§data_offset: u64§data_length: u64§decoded_bytes: u64§meta_offset: u64§meta_length: u64§hmc_data_range: Range<u64>§hmc_meta_range: Range<u64>§payload_blake3: [u8; 32]§meta_crc32c: u32§entry_crc32c: u32§header_crc32c: u32§parent_header_digest: [u8; 32]§index_commitment: [u8; 32]§raw_header_bytes: [u8; 128]§raw_directory_entry_bytes: [u8; 128]Trait Implementations§
Source§impl Clone for PlannedChunkRange
impl Clone for PlannedChunkRange
Source§impl Debug for PlannedChunkRange
impl Debug for PlannedChunkRange
impl Eq for PlannedChunkRange
Source§impl PartialEq for PlannedChunkRange
impl PartialEq for PlannedChunkRange
impl StructuralPartialEq for PlannedChunkRange
Auto Trait Implementations§
impl Freeze for PlannedChunkRange
impl RefUnwindSafe for PlannedChunkRange
impl Send for PlannedChunkRange
impl Sync for PlannedChunkRange
impl Unpin for PlannedChunkRange
impl UnsafeUnpin for PlannedChunkRange
impl UnwindSafe for PlannedChunkRange
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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<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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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