Trait VMetadata

Source
pub trait VMetadata: Sync + Send {
    // Required methods
    fn path(&self) -> &str;
    fn is_dir(&self) -> bool;
    fn is_file(&self) -> bool;
    fn len(&self) -> u64;
    fn mtime(&self) -> u64;
}

Required Methods§

Source

fn path(&self) -> &str

Source

fn is_dir(&self) -> bool

Source

fn is_file(&self) -> bool

Source

fn len(&self) -> u64

Source

fn mtime(&self) -> u64

Implementors§