pub enum Fixity {
Off,
Payloads,
Full,
}Expand description
How far content checksums cover a workspace.
Variants§
Off
No content checksums are recorded or verified.
Payloads
Attachment payloads only.
Full
Attachment payloads and document bodies.
Implementations§
Source§impl Fixity
impl Fixity
Sourcepub fn covers_payloads(self) -> bool
pub fn covers_payloads(self) -> bool
Whether attachment payloads are checksummed.
Sourcepub fn covers_bodies(self) -> bool
pub fn covers_bodies(self) -> bool
Whether document bodies are checksummed.
Sourcepub fn from_config_str(value: &str) -> Option<Self>
pub fn from_config_str(value: &str) -> Option<Self>
Parse the configuration spelling; unknown values return None.
Sourcepub fn as_config_str(self) -> &'static str
pub fn as_config_str(self) -> &'static str
Return the configuration spelling.
Trait Implementations§
impl Copy for Fixity
impl Eq for Fixity
impl StructuralPartialEq for Fixity
Auto Trait Implementations§
impl Freeze for Fixity
impl RefUnwindSafe for Fixity
impl Send for Fixity
impl Sync for Fixity
impl Unpin for Fixity
impl UnsafeUnpin for Fixity
impl UnwindSafe for Fixity
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.