pub struct Atomic;Expand description
Similar to Writable, but eliminates the possibility of file corruption in the case of
the FileFormat failing midway during a write. The tradeoff is that file contents must be
buffered in memory during a write.
This does not however prevent the possibility of race-condition write corruption.
Trait Implementations§
impl Copy for Atomic
impl Reading for Atomic
impl Writing for Atomic
Auto Trait Implementations§
impl Freeze for Atomic
impl RefUnwindSafe for Atomic
impl Send for Atomic
impl Sync for Atomic
impl Unpin for Atomic
impl UnwindSafe for Atomic
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