pub struct VerificationConfig {
pub allow_unisolated: Option<bool>,
pub test_policy: Option<TestPolicy>,
pub external_oracle: Option<ExternalOracleConfig>,
pub require_format: Option<bool>,
pub stage_timeout_secs: Option<u64>,
pub syntax_timeout_secs: Option<u64>,
pub build_timeout_secs: Option<u64>,
pub test_timeout_secs: Option<u64>,
pub lint_timeout_secs: Option<u64>,
pub format_timeout_secs: Option<u64>,
}Expand description
The [verification] acceptance-stage options.
Fields§
§allow_unisolated: Option<bool>Permit verifier, inspection, and LSP processes to run without an OS sandbox when the current platform has no registered backend. This is an explicit reduced-isolation mode; false by default.
test_policy: Option<TestPolicy>How project tests contribute to acceptance. evolving is the normal
development policy: the resulting code, tests, and configuration are
verified together. Stronger policies are explicit because historical
tests are not universally valid after an intentional contract change.
external_oracle: Option<ExternalOracleConfig>Protected acceptance material used only by external-oracle.
require_format: Option<bool>Declare the plugin format verifier stage (e.g. cargo fmt --check)
as an acceptance sensor. Off by default.
stage_timeout_secs: Option<u64>Wall-clock limit for every governed verifier stage (default 180).
syntax_timeout_secs: Option<u64>Per-stage overrides of stage_timeout_secs.
build_timeout_secs: Option<u64>§test_timeout_secs: Option<u64>§lint_timeout_secs: Option<u64>§format_timeout_secs: Option<u64>Implementations§
Trait Implementations§
Source§impl Clone for VerificationConfig
impl Clone for VerificationConfig
Source§fn clone(&self) -> VerificationConfig
fn clone(&self) -> VerificationConfig
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 VerificationConfig
impl Debug for VerificationConfig
Source§impl Default for VerificationConfig
impl Default for VerificationConfig
Source§fn default() -> VerificationConfig
fn default() -> VerificationConfig
Source§impl<'de> Deserialize<'de> for VerificationConfig
impl<'de> Deserialize<'de> for VerificationConfig
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 VerificationConfig
impl PartialEq for VerificationConfig
Source§fn eq(&self, other: &VerificationConfig) -> bool
fn eq(&self, other: &VerificationConfig) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for VerificationConfig
impl Serialize for VerificationConfig
impl StructuralPartialEq for VerificationConfig
Auto Trait Implementations§
impl Freeze for VerificationConfig
impl RefUnwindSafe for VerificationConfig
impl Send for VerificationConfig
impl Sync for VerificationConfig
impl Unpin for VerificationConfig
impl UnsafeUnpin for VerificationConfig
impl UnwindSafe for VerificationConfig
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
self from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
self is actually part of its subset T (and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
self.to_subset but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
self to the equivalent element of its superset.