Struct cpio_archive::newc::NewcHeader
source · pub struct NewcHeader {}
Fields§
§inode: u32
§mode: u32
§uid: u32
§gid: u32
§nlink: u32
§mtime: u32
§file_size: u64
§dev_major: u32
§dev_minor: u32
§rdev_major: u32
§rdev_minor: u32
§checksum: u32
§name: String
Implementations§
source§impl NewcHeader
impl NewcHeader
pub fn from_reader(reader: &mut impl Read) -> CpioResult<Self>
Trait Implementations§
source§impl Clone for NewcHeader
impl Clone for NewcHeader
source§fn clone(&self) -> NewcHeader
fn clone(&self) -> NewcHeader
Returns a copy 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 moresource§impl CpioHeader for NewcHeader
impl CpioHeader for NewcHeader
Auto Trait Implementations§
impl RefUnwindSafe for NewcHeader
impl Send for NewcHeader
impl Sync for NewcHeader
impl Unpin for NewcHeader
impl UnwindSafe for NewcHeader
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