Trait StoreMetadata

Source
pub trait StoreMetadata {
    // Required methods
    fn size(&self) -> u64;
    fn created(&self) -> u64;
    fn modified(&self) -> u64;
}
Expand description

Trait representing the metadata of a file.

Required Methods§

Source

fn size(&self) -> u64

Returns the size of the file in bytes.

Source

fn created(&self) -> u64

Returns the creation timestamp of the file (epoch time).

Source

fn modified(&self) -> u64

Returns the last modification timestamp of the file (epoch time).

Implementors§