pub trait File: Read + Write + Seek {
type FSError;
fn sync_all(&mut self) -> Result<(), Self::FSError>;
}
Expand description
Trait that represent a file inside our FileSystem. Associated type File
in our FileSystem
trait must implement this trait.