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.pub trait FileInfo {
// Required methods
fn get_path(&self) -> &PathBuf;
fn get_mime(&self) -> Option<&Mime>;
fn get_size(&self) -> u64;
}
file
only.