pub struct AtomicWriteConfig {
pub retry_count: usize,
pub cleanup_tmp_files: bool,
}Expand description
Configuration for atomic write operations.
Fields§
§retry_count: usizeNumber of times to retry rename operation (default: 3)
cleanup_tmp_files: boolWhether to clean up old temporary files (best effort)
Trait Implementations§
Source§impl Clone for AtomicWriteConfig
impl Clone for AtomicWriteConfig
Source§fn clone(&self) -> AtomicWriteConfig
fn clone(&self) -> AtomicWriteConfig
Returns a duplicate of the value. Read more
1.0.0 · 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 AtomicWriteConfig
impl Debug for AtomicWriteConfig
Auto Trait Implementations§
impl Freeze for AtomicWriteConfig
impl RefUnwindSafe for AtomicWriteConfig
impl Send for AtomicWriteConfig
impl Sync for AtomicWriteConfig
impl Unpin for AtomicWriteConfig
impl UnwindSafe for AtomicWriteConfig
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