Skip to main content

validate_controlled

Function validate_controlled 

Source
pub fn validate_controlled(
    model: &Model,
    trace: &Trace,
    control: Arc<dyn HostControl>,
) -> Result<Report, ValidationRunError>
Expand description

Validates supplied states with a generic cooperative host capability.

Interruption is returned outside Validation: it is neither an invalid trace nor an unsupported feature. Only the owning driver can interpret its opaque identity. Binding, ASSUME, quiet value units and pure bulk/native work retain their interruption limitations. Supplied deferred values may retain a different evaluator, whose work this control does not govern. This does not control TLC JSON interpretation or private crate::Session reconstruction.

dive_trace::validate_controlled(model, trace, control)

ยงErrors

Typed host interruption with actual validation progress, or a conflicting control registration owned by another thread. Ordinary invalid/unsupported trace reports remain ordinary reports.