pub trait FileSystem: Send + Sync {
// Required methods
fn root_dir(&self) -> Arc<dyn INodeInterface>;
fn name(&self) -> &str;
// Provided method
fn flush(&self) -> VfsResult<()> { ... }
}
pub trait FileSystem: Send + Sync {
// Required methods
fn root_dir(&self) -> Arc<dyn INodeInterface>;
fn name(&self) -> &str;
// Provided method
fn flush(&self) -> VfsResult<()> { ... }
}