Trait vfs::VMetadata [] [src]

pub trait VMetadata {
    fn is_dir(&self) -> bool;
    fn is_file(&self) -> bool;
    fn len(&self) -> u64;
}

File metadata abstraction

Required Methods

fn is_dir(&self) -> bool

Returns true iff this path is a directory

fn is_file(&self) -> bool

Returns true iff this path is a file

fn len(&self) -> u64

Returns the length of the file at this path

Implementors