pub struct LocalPatchFs { /* private fields */ }Implementations§
Trait Implementations§
Source§impl Clone for LocalPatchFs
impl Clone for LocalPatchFs
Source§fn clone(&self) -> LocalPatchFs
fn clone(&self) -> LocalPatchFs
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LocalPatchFs
impl Debug for LocalPatchFs
Source§impl PatchFs for LocalPatchFs
impl PatchFs for LocalPatchFs
fn root(&self) -> &Path
fn exists(&self, relative_path: &Path) -> WorkspaceResult<bool>
fn read_lines(&self, relative_path: &Path) -> WorkspaceResult<Vec<String>>
fn write_lines( &self, relative_path: &Path, lines: &[String], ) -> WorkspaceResult<()>
fn remove_file(&self, relative_path: &Path) -> WorkspaceResult<()>
fn create_parent_dirs(&self, relative_path: &Path) -> WorkspaceResult<()>
fn snapshot_lines( &self, relative_path: &Path, ) -> WorkspaceResult<Option<Vec<String>>>
Auto Trait Implementations§
impl Freeze for LocalPatchFs
impl RefUnwindSafe for LocalPatchFs
impl Send for LocalPatchFs
impl Sync for LocalPatchFs
impl Unpin for LocalPatchFs
impl UnsafeUnpin for LocalPatchFs
impl UnwindSafe for LocalPatchFs
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