pub struct FileMeta {
pub times: [FileTime; 4],
pub attrs: AttrFlags,
pub alloc: u64,
pub eof: u64,
pub is_dir: bool,
}Expand description
Snapshot of file metadata shared between protocol layers and backends.
Fields§
§times: [FileTime; 4]Creation / last-access / last-write / change times.
attrs: AttrFlagsAttribute flags.
alloc: u64Allocation size in bytes (block rounded).
eof: u64End of file in bytes.
is_dir: boolTrue when the object is a directory.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FileMeta
impl RefUnwindSafe for FileMeta
impl Send for FileMeta
impl Sync for FileMeta
impl Unpin for FileMeta
impl UnsafeUnpin for FileMeta
impl UnwindSafe for FileMeta
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