pub enum TypedAssertion {
OutputContains {
turn: usize,
values: Vec<String>,
any: bool,
},
WorkspaceFile {
path: String,
contains: Vec<String>,
max_bytes: Option<usize>,
},
CommandExit {
name: String,
command_ref: String,
expected_exit_code: i32,
},
TraceEvent {
event_type: String,
minimum_count: usize,
},
ArtifactExists {
artifact_kind: String,
},
Plugin {
plugin_ref: String,
config: Value,
},
}Expand description
Versioned typed assertion schema used by durable suites. The legacy
Value fields on EvalCase remain only for v1 wire compatibility.
Variants§
OutputContains
WorkspaceFile
CommandExit
TraceEvent
ArtifactExists
Plugin
A custom evaluator that is executed by the isolated executor. The control plane accepts only an attested result for the exact immutable plugin reference; it never loads plugin code into the service process.
Trait Implementations§
Source§impl Clone for TypedAssertion
impl Clone for TypedAssertion
Source§fn clone(&self) -> TypedAssertion
fn clone(&self) -> TypedAssertion
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 TypedAssertion
impl Debug for TypedAssertion
Source§impl<'de> Deserialize<'de> for TypedAssertion
impl<'de> Deserialize<'de> for TypedAssertion
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>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for TypedAssertion
impl RefUnwindSafe for TypedAssertion
impl Send for TypedAssertion
impl Sync for TypedAssertion
impl Unpin for TypedAssertion
impl UnsafeUnpin for TypedAssertion
impl UnwindSafe for TypedAssertion
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