pub struct Header {
pub version: u16,
pub flags: u16,
pub saved: u32,
/* private fields */
}Expand description
The container header, all integers little-endian.
Fields§
§version: u16§flags: u16Seen as 0, 4 or 8 in real files; bits 0 and 1 mark container variants that are rejected.
saved: u32Save time in Unix seconds, as written by the application.
Trait Implementations§
impl Copy for Header
impl Eq for Header
impl StructuralPartialEq for Header
Auto Trait Implementations§
impl Forget for Header
impl Freeze for Header
impl Move for Header
impl RefUnwindSafe for Header
impl Send for Header
impl Sync for Header
impl Unpin for Header
impl UnsafeUnpin for Header
impl UnwindSafe for Header
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