FileSystem

Trait FileSystem 

Source
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, ()>;
}

Required Methods§

Source

fn create(&mut self, path: &str, attributes: FileAttributes) -> Result<File, ()>

Source

fn open(&mut self, path: &str, options: OpenOptions) -> Result<File, ()>

Implementors§