pub trait FileRw {
// Required methods
fn file_id(&self) -> FileId;
fn path(&self) -> &StoragePath;
}Expand description
A file being read or written.
Required Methods§
Sourcefn path(&self) -> &StoragePath
fn path(&self) -> &StoragePath
Returns the file’s path.