pub struct AtomicOptions {
pub private: bool,
pub create_parents: bool,
pub durable: bool,
}Fields§
§private: boolTemp inode is created owner-only (0600 / owner DACL) and the result stays owner-only.
create_parents: boolCreate missing parent directories first (owner-only when private).
durable: boolfsync the file and its directory. Disable only for rebuildable data.
Implementations§
Source§impl AtomicOptions
impl AtomicOptions
Trait Implementations§
Source§impl Clone for AtomicOptions
impl Clone for AtomicOptions
impl Copy for AtomicOptions
Source§impl Debug for AtomicOptions
impl Debug for AtomicOptions
Auto Trait Implementations§
impl Freeze for AtomicOptions
impl RefUnwindSafe for AtomicOptions
impl Send for AtomicOptions
impl Sync for AtomicOptions
impl Unpin for AtomicOptions
impl UnsafeUnpin for AtomicOptions
impl UnwindSafe for AtomicOptions
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