Trait cpio_archive::CpioHeader
source · pub trait CpioHeader: Debug {
// Required methods
fn device(&self) -> u32;
fn inode(&self) -> u32;
fn mode(&self) -> u32;
fn uid(&self) -> u32;
fn gid(&self) -> u32;
fn nlink(&self) -> u32;
fn rdev(&self) -> u32;
fn mtime(&self) -> u32;
fn file_size(&self) -> u64;
fn name(&self) -> &str;
// Provided method
fn modified_time(&self) -> DateTime<Utc> { ... }
}
Expand description
Common behavior for a header/entry in a cpio archive.
Required Methods§
Provided Methods§
sourcefn modified_time(&self) -> DateTime<Utc>
fn modified_time(&self) -> DateTime<Utc>
Modified time as a DateTime.