pub enum CopyOnWrite {
NotApplicable,
Off,
On {
paths: Vec<String>,
reason: String,
},
}Expand description
Copy-on-write state of a store’s data files, reported at boot.
Variants§
NotApplicable
The filesystem has no copy-on-write flag (ext4, xfs, tmpfs, …).
Off
The data directory and every data file have copy-on-write off.
On
Some data files still copy on write: their paths, and why.
Trait Implementations§
Source§impl Clone for CopyOnWrite
impl Clone for CopyOnWrite
Source§impl Debug for CopyOnWrite
impl Debug for CopyOnWrite
impl Eq for CopyOnWrite
Source§impl PartialEq for CopyOnWrite
impl PartialEq for CopyOnWrite
impl StructuralPartialEq for CopyOnWrite
Auto Trait Implementations§
impl Freeze for CopyOnWrite
impl RefUnwindSafe for CopyOnWrite
impl Send for CopyOnWrite
impl Sync for CopyOnWrite
impl Unpin for CopyOnWrite
impl UnsafeUnpin for CopyOnWrite
impl UnwindSafe for CopyOnWrite
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.