pub struct SizeHeader {
pub magic: [u8; 2],
pub version: u8,
pub ekey_size: u8,
pub entry_count: u32,
pub tag_count: u16,
pub total_size: u64,
}
Expand description
Size file header
Fields§
§magic: [u8; 2]
Magic bytes “DS”
version: u8
Version (typically 1)
ekey_size: u8
EKey size (typically 9 - first 9 bytes of MD5)
entry_count: u32
Number of entries
tag_count: u16
Number of tags
total_size: u64
Total size of all files (40-bit)
Implementations§
Trait Implementations§
Source§impl Clone for SizeHeader
impl Clone for SizeHeader
Source§fn clone(&self) -> SizeHeader
fn clone(&self) -> SizeHeader
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for SizeHeader
impl RefUnwindSafe for SizeHeader
impl Send for SizeHeader
impl Sync for SizeHeader
impl Unpin for SizeHeader
impl UnwindSafe for SizeHeader
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