pub struct ManifestFooter {
pub archive_uuid: [u8; 16],
pub session_id: [u8; 16],
pub volume_index: u32,
pub is_authoritative: u8,
pub total_volumes: u32,
pub index_root_first_block: u64,
pub index_root_data_block_count: u32,
pub index_root_parity_block_count: u32,
pub index_root_encrypted_size: u32,
pub index_root_decompressed_size: u32,
pub manifest_hmac: [u8; 32],
}Fields§
§archive_uuid: [u8; 16]§session_id: [u8; 16]§volume_index: u32§total_volumes: u32§index_root_first_block: u64§index_root_data_block_count: u32§index_root_parity_block_count: u32§index_root_encrypted_size: u32§index_root_decompressed_size: u32§manifest_hmac: [u8; 32]Implementations§
pub fn parse(bytes: &[u8]) -> Result<Self, FormatError>
pub fn validate_index_root_extent( &self, block_size: u32, ) -> Result<(), FormatError>
pub fn to_bytes(&self) -> [u8; 136]
Trait Implementations§
Source§fn clone(&self) -> ManifestFooter
fn clone(&self) -> ManifestFooter
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§fn eq(&self, other: &ManifestFooter) -> bool
fn eq(&self, other: &ManifestFooter) -> bool
Tests for
self and other values to be equal, and is used by ==.Auto Trait Implementations§
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