pub struct WitnessConfig {
pub witness_ingest: bool,
pub witness_delete: bool,
pub witness_compact: bool,
pub audit_queries: bool,
}Expand description
Configuration for automatic witness segment generation.
Fields§
§witness_ingest: boolAppend a witness entry after each ingest operation. Default: true.
witness_delete: boolAppend a witness entry after each delete operation. Default: true.
witness_compact: boolAppend a witness entry after each compact operation. Default: true.
audit_queries: boolAppend a witness entry after each query operation. Default: false. Enable this for audit-trail compliance; it adds I/O to the hot path.
Trait Implementations§
Source§impl Clone for WitnessConfig
impl Clone for WitnessConfig
Source§fn clone(&self) -> WitnessConfig
fn clone(&self) -> WitnessConfig
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 WitnessConfig
impl Debug for WitnessConfig
Auto Trait Implementations§
impl Freeze for WitnessConfig
impl RefUnwindSafe for WitnessConfig
impl Send for WitnessConfig
impl Sync for WitnessConfig
impl Unpin for WitnessConfig
impl UnsafeUnpin for WitnessConfig
impl UnwindSafe for WitnessConfig
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