pub trait FileSystem {
// Required methods
fn create(
&mut self,
path: &str,
attributes: FileAttributes,
) -> Result<File, ()>;
fn open(&mut self, path: &str, options: OpenOptions) -> Result<File, ()>;
}pub trait FileSystem {
// Required methods
fn create(
&mut self,
path: &str,
attributes: FileAttributes,
) -> Result<File, ()>;
fn open(&mut self, path: &str, options: OpenOptions) -> Result<File, ()>;
}