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
sourceimpl NewcHeader
impl NewcHeader
pub fn from_reader(reader: &mut impl Read) -> CpioResult<Self>
Trait Implementations
sourceimpl Clone for NewcHeader
impl Clone for NewcHeader
sourcefn clone(&self) -> NewcHeader
fn clone(&self) -> NewcHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl CpioHeader for NewcHeader
impl CpioHeader for NewcHeader
sourcefn modified_time(&self) -> DateTime<Utc>
fn modified_time(&self) -> DateTime<Utc>
Modified time as a DateTime.
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
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more