pub struct InstallHeader {
pub magic: [u8; 2],
pub version: u8,
pub hash_size: u8,
pub tag_count: u16,
pub entry_count: u32,
}
Expand description
Install manifest header
Fields§
§magic: [u8; 2]
Magic bytes “IN”
version: u8
Version (should be 1)
hash_size: u8
Hash size (usually 16 for MD5)
tag_count: u16
Number of tags
entry_count: u32
Number of file entries
Trait Implementations§
Source§impl Clone for InstallHeader
impl Clone for InstallHeader
Source§fn clone(&self) -> InstallHeader
fn clone(&self) -> InstallHeader
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 InstallHeader
impl RefUnwindSafe for InstallHeader
impl Send for InstallHeader
impl Sync for InstallHeader
impl Unpin for InstallHeader
impl UnwindSafe for InstallHeader
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