pub struct ProcessIoCapturePolicy {
pub default_capture: ProcessContentCaptureMode,
pub max_bytes: u64,
pub truncation_policy: TruncationPolicy,
pub content_ref_mode: ContentRefMode,
pub redaction_policy_ref: PolicyRef,
}Expand description
Describes the process io capture policy portion of a runtime package snapshot. Use it when package authors or tests need explicit package configuration; validation and activation happen in package/runtime coordinators.
Fields§
§default_capture: ProcessContentCaptureModeDefault capture used by this record or request.
max_bytes: u64Maximum byte budget the caller requested before truncation or summary behavior is applied.
truncation_policy: TruncationPolicyTruncation policy used by this record or request.
content_ref_mode: ContentRefModeContent reference associated with this value. Resolve it through policy-gated content stores instead of embedding raw content.
redaction_policy_ref: PolicyRefTyped redaction policy ref reference. Resolving or executing it is a separate policy-gated step.
Implementations§
Source§impl ProcessIoCapturePolicy
impl ProcessIoCapturePolicy
Sourcepub fn summary_hash_and_content_ref() -> Self
pub fn summary_hash_and_content_ref() -> Self
Computes the stable summary hash and content ref for this package::isolation value. The computation is deterministic and side-effect free so it can be used in package, journal, or test evidence.
Trait Implementations§
Source§impl Clone for ProcessIoCapturePolicy
impl Clone for ProcessIoCapturePolicy
Source§fn clone(&self) -> ProcessIoCapturePolicy
fn clone(&self) -> ProcessIoCapturePolicy
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for ProcessIoCapturePolicy
impl Debug for ProcessIoCapturePolicy
Source§impl<'de> Deserialize<'de> for ProcessIoCapturePolicy
impl<'de> Deserialize<'de> for ProcessIoCapturePolicy
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Source§impl PartialEq for ProcessIoCapturePolicy
impl PartialEq for ProcessIoCapturePolicy
Source§fn eq(&self, other: &ProcessIoCapturePolicy) -> bool
fn eq(&self, other: &ProcessIoCapturePolicy) -> bool
self and other values to be equal, and is used by ==.