pub struct VolumeHeader {
pub format_version: u16,
pub volume_format_rev: u16,
pub volume_index: u32,
pub stripe_width: u32,
pub archive_uuid: [u8; 16],
pub session_id: [u8; 16],
pub crypto_header_offset: u32,
pub crypto_header_length: u32,
pub header_crc32c: u32,
}Fields§
§format_version: u16§volume_format_rev: u16§volume_index: u32§stripe_width: u32§archive_uuid: [u8; 16]§session_id: [u8; 16]§crypto_header_offset: u32§crypto_header_length: u32§header_crc32c: u32Implementations§
Trait Implementations§
Source§impl Clone for VolumeHeader
impl Clone for VolumeHeader
Source§fn clone(&self) -> VolumeHeader
fn clone(&self) -> VolumeHeader
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 Debug for VolumeHeader
impl Debug for VolumeHeader
Source§impl PartialEq for VolumeHeader
impl PartialEq for VolumeHeader
Source§fn eq(&self, other: &VolumeHeader) -> bool
fn eq(&self, other: &VolumeHeader) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for VolumeHeader
impl StructuralPartialEq for VolumeHeader
Auto Trait Implementations§
impl Freeze for VolumeHeader
impl RefUnwindSafe for VolumeHeader
impl Send for VolumeHeader
impl Sync for VolumeHeader
impl Unpin for VolumeHeader
impl UnsafeUnpin for VolumeHeader
impl UnwindSafe for VolumeHeader
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