pub struct HardeningConfig {
pub target: Option<PathBuf>,
pub policy_path: Option<PathBuf>,
pub behavior_spec_path: Option<PathBuf>,
pub apply: bool,
pub max_files: usize,
pub max_recipe_tier: u8,
pub evidence_depth: HardeningEvidenceDepth,
pub validation_timeout: Duration,
}Expand description
Scoped Rust hardening engine for ordinary Rust modules. Unstable during the v1 beta.
Fields§
§target: Option<PathBuf>§policy_path: Option<PathBuf>§behavior_spec_path: Option<PathBuf>§apply: bool§max_files: usize§max_recipe_tier: u8§evidence_depth: HardeningEvidenceDepth§validation_timeout: DurationTrait Implementations§
Source§impl Clone for HardeningConfig
impl Clone for HardeningConfig
Source§fn clone(&self) -> HardeningConfig
fn clone(&self) -> HardeningConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 HardeningConfig
impl Debug for HardeningConfig
Auto Trait Implementations§
impl Freeze for HardeningConfig
impl RefUnwindSafe for HardeningConfig
impl Send for HardeningConfig
impl Sync for HardeningConfig
impl Unpin for HardeningConfig
impl UnsafeUnpin for HardeningConfig
impl UnwindSafe for HardeningConfig
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