pub struct CriticalMetadataRecoveryHeader {
pub shard_size: u32,
pub data_shard_count: u16,
pub parity_shard_count: u16,
pub image_length: u32,
pub archive_uuid_hint: [u8; 16],
pub session_id_hint: [u8; 16],
pub volume_index_hint: u32,
pub image_sha256: [u8; 32],
pub header_crc32c: u32,
}Fields§
§shard_size: u32§data_shard_count: u16§parity_shard_count: u16§image_length: u32§archive_uuid_hint: [u8; 16]§session_id_hint: [u8; 16]§volume_index_hint: u32§image_sha256: [u8; 32]§header_crc32c: u32Implementations§
Trait Implementations§
Source§impl Clone for CriticalMetadataRecoveryHeader
impl Clone for CriticalMetadataRecoveryHeader
Source§fn clone(&self) -> CriticalMetadataRecoveryHeader
fn clone(&self) -> CriticalMetadataRecoveryHeader
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§impl PartialEq for CriticalMetadataRecoveryHeader
impl PartialEq for CriticalMetadataRecoveryHeader
Source§fn eq(&self, other: &CriticalMetadataRecoveryHeader) -> bool
fn eq(&self, other: &CriticalMetadataRecoveryHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for CriticalMetadataRecoveryHeader
impl Eq for CriticalMetadataRecoveryHeader
impl StructuralPartialEq for CriticalMetadataRecoveryHeader
Auto Trait Implementations§
impl Freeze for CriticalMetadataRecoveryHeader
impl RefUnwindSafe for CriticalMetadataRecoveryHeader
impl Send for CriticalMetadataRecoveryHeader
impl Sync for CriticalMetadataRecoveryHeader
impl Unpin for CriticalMetadataRecoveryHeader
impl UnsafeUnpin for CriticalMetadataRecoveryHeader
impl UnwindSafe for CriticalMetadataRecoveryHeader
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