#[repr(C)]pub struct OldHeader {
pub name: [u8; 100],
pub mode: [u8; 8],
pub uid: [u8; 8],
pub gid: [u8; 8],
pub size: [u8; 12],
pub mtime: [u8; 12],
pub cksum: [u8; 8],
pub linkflag: [u8; 1],
pub linkname: [u8; 100],
pub pad: [u8; 255],
}
Expand description
Representation of the header of an entry in an archive
Fields§
§name: [u8; 100]
§mode: [u8; 8]
§uid: [u8; 8]
§gid: [u8; 8]
§size: [u8; 12]
§mtime: [u8; 12]
§cksum: [u8; 8]
§linkflag: [u8; 1]
§linkname: [u8; 100]
§pad: [u8; 255]
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for OldHeader
impl RefUnwindSafe for OldHeader
impl Send for OldHeader
impl Sync for OldHeader
impl Unpin for OldHeader
impl UnwindSafe for OldHeader
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