pub enum AuditAssertionError {
MissingResourceCommand {
context: ResourceAuditContext,
},
ResourceCommandMismatch {
context: ResourceAuditContext,
field: &'static str,
},
MissingOutputFrame {
context: OutputAuditContext,
},
OutputFrameMismatch {
context: OutputAuditContext,
field: &'static str,
},
MissingDependencyPath {
from: NodeId,
to: NodeId,
},
}Expand description
Failure from an explainability assertion over transaction audit data.
Variants§
MissingResourceCommand
A resource command had no graph-visible explanation.
Fields
§
context: ResourceAuditContextCommand context.
ResourceCommandMismatch
A resource command explanation did not match the emitted command.
Fields
§
context: ResourceAuditContextCommand context.
MissingOutputFrame
An output frame had no graph-visible explanation.
Fields
§
context: OutputAuditContextFrame context.
OutputFrameMismatch
An output frame explanation did not match the emitted frame.
Fields
§
context: OutputAuditContextFrame context.
MissingDependencyPath
A requested dependency path was missing.
Trait Implementations§
Source§impl Clone for AuditAssertionError
impl Clone for AuditAssertionError
Source§fn clone(&self) -> AuditAssertionError
fn clone(&self) -> AuditAssertionError
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 AuditAssertionError
impl Debug for AuditAssertionError
impl Eq for AuditAssertionError
Source§impl PartialEq for AuditAssertionError
impl PartialEq for AuditAssertionError
Source§fn eq(&self, other: &AuditAssertionError) -> bool
fn eq(&self, other: &AuditAssertionError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for AuditAssertionError
Auto Trait Implementations§
impl Freeze for AuditAssertionError
impl RefUnwindSafe for AuditAssertionError
impl Send for AuditAssertionError
impl Sync for AuditAssertionError
impl Unpin for AuditAssertionError
impl UnsafeUnpin for AuditAssertionError
impl UnwindSafe for AuditAssertionError
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