Trait FileInfo

Source
pub trait FileInfo {
    // Required methods
    fn get_path(&self) -> &PathBuf;
    fn get_mime(&self) -> Option<&Mime>;
    fn get_size(&self) -> u64;
}
Available on crate feature file only.

Required Methods§

Source

fn get_path(&self) -> &PathBuf

Source

fn get_mime(&self) -> Option<&Mime>

Source

fn get_size(&self) -> u64

Implementors§