Struct rzbackup::AtomicFileWriter
[−]
[src]
pub struct AtomicFileWriter { /* fields omitted */ }
Methods
impl AtomicFileWriter
[src]
fn new(
output: &Output,
repository_path: &Path,
sleep_time: Option<Duration>
) -> Result<AtomicFileWriter, String>
output: &Output,
repository_path: &Path,
sleep_time: Option<Duration>
) -> Result<AtomicFileWriter, String>
fn create(&self, target_path: PathBuf) -> Result<File, String>
fn delete(&self, delete_path: PathBuf)
fn commit(&self) -> Result<(), String>
fn changes(&self) -> bool
Trait Implementations
impl Clone for AtomicFileWriter
[src]
fn clone(&self) -> AtomicFileWriter
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more