pub trait Env {
Show 15 methods fn open_sequential_file(&self, p: &Path) -> Result<Box<dyn Read>>; fn open_random_access_file(&self, p: &Path) -> Result<Box<dyn RandomAccess>>; fn open_writable_file(&self, p: &Path) -> Result<Box<dyn Write>>; fn open_appendable_file(&self, p: &Path) -> Result<Box<dyn Write>>; fn exists(&self, p: &Path) -> Result<bool>; fn children(&self, p: &Path) -> Result<Vec<PathBuf>>; fn size_of(&self, p: &Path) -> Result<usize>; fn delete(&self, p: &Path) -> Result<()>; fn mkdir(&self, p: &Path) -> Result<()>; fn rmdir(&self, p: &Path) -> Result<()>; fn rename(&self, p: &Path, p: &Path) -> Result<()>; fn lock(&self, p: &Path) -> Result<FileLock>; fn unlock(&self, l: FileLock) -> Result<()>; fn new_logger(&self, p: &Path) -> Result<Logger>; fn micros(&self) -> u64;
}

Required Methods

Implementors