pub struct LocalVfs { /* private fields */ }Implementations§
Trait Implementations§
Source§impl VirtualFileSystem for LocalVfs
impl VirtualFileSystem for LocalVfs
fn read(&self, path: &Path) -> Result<Vec<u8>>
fn write_atomic(&self, path: &Path, bytes: &[u8]) -> Result<()>
fn hash(&self, path: &Path) -> Result<String>
fn cwd(&self) -> Result<PathBuf>
fn list_tree(&self, path: &Path) -> Result<Vec<TreeNode>>
fn recent_file_hashes(&self, limit: usize) -> Result<Vec<FileHash>>
Auto Trait Implementations§
impl Freeze for LocalVfs
impl RefUnwindSafe for LocalVfs
impl Send for LocalVfs
impl Sync for LocalVfs
impl Unpin for LocalVfs
impl UnsafeUnpin for LocalVfs
impl UnwindSafe for LocalVfs
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more