pub struct DeleteFile { /* private fields */ }
Expand description
Deletes a file
Implementations§
Trait Implementations§
Source§impl Drop for DeleteFile
impl Drop for DeleteFile
Source§impl RollbackableOperation for DeleteFile
impl RollbackableOperation for DeleteFile
Source§impl SingleFileOperation for DeleteFile
impl SingleFileOperation for DeleteFile
Source§fn get_backup_path(&self) -> &Path
fn get_backup_path(&self) -> &Path
Returns path to backup file Read more
Source§fn set_backup_path<S: AsRef<Path>>(&mut self, uuid: S)
fn set_backup_path<S: AsRef<Path>>(&mut self, uuid: S)
Sets the backup path
Source§fn get_temp_dir(&self) -> &Path
fn get_temp_dir(&self) -> &Path
Returns path to temp dir
Auto Trait Implementations§
impl Freeze for DeleteFile
impl RefUnwindSafe for DeleteFile
impl Send for DeleteFile
impl Sync for DeleteFile
impl Unpin for DeleteFile
impl UnwindSafe for DeleteFile
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