pub struct EvidencePolicyConfig {
pub ledger_capacity: usize,
pub sink_enabled: bool,
pub sink_file: Option<String>,
pub flush_on_write: bool,
}Expand description
Evidence logging policy parameters.
Fields§
§ledger_capacity: usizeCapacity of the unified evidence ledger (ring buffer). Default: 1024.
sink_enabled: boolWhether the evidence sink is enabled. Default: false.
sink_file: Option<String>File path for evidence output; None → stdout. Default: None.
flush_on_write: boolFlush after every write. Default: true.
Trait Implementations§
Source§impl Clone for EvidencePolicyConfig
impl Clone for EvidencePolicyConfig
Source§fn clone(&self) -> EvidencePolicyConfig
fn clone(&self) -> EvidencePolicyConfig
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 EvidencePolicyConfig
impl Debug for EvidencePolicyConfig
Auto Trait Implementations§
impl Freeze for EvidencePolicyConfig
impl RefUnwindSafe for EvidencePolicyConfig
impl Send for EvidencePolicyConfig
impl Sync for EvidencePolicyConfig
impl Unpin for EvidencePolicyConfig
impl UnsafeUnpin for EvidencePolicyConfig
impl UnwindSafe for EvidencePolicyConfig
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