pub struct HfsStat {
pub cnid: u32,
pub is_dir: bool,
pub size: u64,
pub created: u32,
pub modified: u32,
pub accessed: u32,
}Expand description
Per-CNID metadata for one catalog entry: kind, data-fork size, and the three
HFS+ MAC timestamps. Timestamps are raw HFS+ values (u32 seconds since the
HFS+ epoch, 1904-01-01 UTC) — a consumer converts them.
Fields§
§cnid: u32Catalog node ID this stat describes.
is_dir: boolTrue for a folder, false for a file.
size: u64Data-fork logical size in bytes (0 for a folder).
created: u32Creation time (HFS+ epoch seconds).
modified: u32Content-modification time (HFS+ epoch seconds).
accessed: u32Access time (HFS+ epoch seconds).
Trait Implementations§
impl Copy for HfsStat
impl Eq for HfsStat
impl StructuralPartialEq for HfsStat
Auto Trait Implementations§
impl Freeze for HfsStat
impl RefUnwindSafe for HfsStat
impl Send for HfsStat
impl Sync for HfsStat
impl Unpin for HfsStat
impl UnsafeUnpin for HfsStat
impl UnwindSafe for HfsStat
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