pub struct ControllerSplitEvidenceTool { /* private fields */ }Expand description
Typed, shell-free client for split controller evidence and plant batches.
Implementations§
Source§impl ControllerSplitEvidenceTool
impl ControllerSplitEvidenceTool
pub fn discover( executable: impl Into<PathBuf>, ) -> Result<Self, PredicateApiError>
pub fn discover_with_policy( executable: impl Into<PathBuf>, policy: ExecutionPolicy, ) -> Result<Self, PredicateApiError>
pub fn discover_observed( executable: impl Into<PathBuf>, policy: ExecutionPolicy, ) -> Result<Observed<Self>, PredicateOperationError>
pub fn capabilities(&self) -> &ControllerSplitEvidenceCapabilities
pub fn execution_policy(&self) -> ExecutionPolicy
pub fn with_execution_policy(self, policy: ExecutionPolicy) -> Self
pub fn certify_controller_evidence( &self, manifest: &Path, output: &Path, ) -> Result<ControllerSplitArtifactSummary, PredicateApiError>
pub fn certify_controller_evidence_observed( &self, manifest: &Path, output: &Path, ) -> Result<Observed<ControllerSplitArtifactSummary>, PredicateOperationError>
pub fn certify_plant_results( &self, manifest: &Path, evidence: &Path, output: &Path, ) -> Result<ControllerSplitArtifactSummary, PredicateApiError>
pub fn certify_plant_results_observed( &self, manifest: &Path, evidence: &Path, output: &Path, ) -> Result<Observed<ControllerSplitArtifactSummary>, PredicateOperationError>
pub fn verify_set( &self, evidence: &Path, batches: &[(&Path, &Path)], ) -> Result<ControllerSplitSetSummary, PredicateApiError>
pub fn verify_set_observed( &self, evidence: &Path, batches: &[(&Path, &Path)], ) -> Result<Observed<ControllerSplitSetSummary>, PredicateOperationError>
Trait Implementations§
Source§impl Clone for ControllerSplitEvidenceTool
impl Clone for ControllerSplitEvidenceTool
Source§fn clone(&self) -> ControllerSplitEvidenceTool
fn clone(&self) -> ControllerSplitEvidenceTool
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 moreAuto Trait Implementations§
impl Freeze for ControllerSplitEvidenceTool
impl RefUnwindSafe for ControllerSplitEvidenceTool
impl Send for ControllerSplitEvidenceTool
impl Sync for ControllerSplitEvidenceTool
impl Unpin for ControllerSplitEvidenceTool
impl UnsafeUnpin for ControllerSplitEvidenceTool
impl UnwindSafe for ControllerSplitEvidenceTool
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