[][src]Struct tar::OldHeader

#[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], }

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]

Methods

impl OldHeader[src]

pub fn as_header(&self) -> &Header[src]

Views this as a normal Header

pub fn as_header_mut(&mut self) -> &mut Header[src]

Views this as a normal Header

Trait Implementations

impl Debug for OldHeader[src]

Auto Trait Implementations

impl Send for OldHeader

impl Sync for OldHeader

Blanket Implementations

impl<T, U> Into for T where
    U: From<T>, 
[src]

impl<T> From for T[src]

impl<T, U> TryFrom for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T> Borrow for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> BorrowMut for T where
    T: ?Sized
[src]

impl<T, U> TryInto for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.