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 Freeze for NewcHeader
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)