pub struct FakeData;Trait Implementations§
source§impl DataInterface for FakeData
impl DataInterface for FakeData
source§fn scan(&self) -> Result<EntriesToCompare, DataReadError>
fn scan(&self) -> Result<EntriesToCompare, DataReadError>
Return the content of either the original files to merge or the
last-saved version. Read more
source§fn save_unchecked(
&mut self,
result: IndexMap<String, String>
) -> Result<(), DataSaveError>
fn save_unchecked( &mut self, result: IndexMap<String, String> ) -> Result<(), DataSaveError>
Do not use this method directly, as it does not check whether the
requested paths are safe to save to.
source§fn get_valid_entries(&mut self) -> Result<HashSet<PathBuf>, DataReadError>
fn get_valid_entries(&mut self) -> Result<HashSet<PathBuf>, DataReadError>
Get a list of all the files we were originally asked to merge. Read more
Auto Trait Implementations§
impl Freeze for FakeData
impl RefUnwindSafe for FakeData
impl Send for FakeData
impl Sync for FakeData
impl Unpin for FakeData
impl UnwindSafe for FakeData
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