pub enum AcceptanceDefect {
Shape,
Noncanonical,
PayloadDigest,
Engine,
BaseIdentity,
CandidateIdentity,
Completeness,
FindingCount,
}Expand description
The exact acceptance defect, most specific first in evaluation order. The trusted wrapper publishes success only when acceptance returns no defect.
Variants§
Shape
The bytes are not one parsable envelope with the expected members.
Noncanonical
The bytes are not exactly JCS(envelope) || LF.
PayloadDigest
The payload-only digest does not recompute.
Engine
The engine digest differs from the binary the wrapper validated.
BaseIdentity
The evaluated base identity differs from the one requested.
CandidateIdentity
The evaluated candidate identity differs from the one requested.
Completeness
The completeness flag disagrees with the exit class.
FindingCount
The finding count differs from the findings array length.
Trait Implementations§
Source§impl Clone for AcceptanceDefect
impl Clone for AcceptanceDefect
Source§fn clone(&self) -> AcceptanceDefect
fn clone(&self) -> AcceptanceDefect
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 moreimpl Copy for AcceptanceDefect
Source§impl Debug for AcceptanceDefect
impl Debug for AcceptanceDefect
impl Eq for AcceptanceDefect
Source§impl PartialEq for AcceptanceDefect
impl PartialEq for AcceptanceDefect
impl StructuralPartialEq for AcceptanceDefect
Auto Trait Implementations§
impl Freeze for AcceptanceDefect
impl RefUnwindSafe for AcceptanceDefect
impl Send for AcceptanceDefect
impl Sync for AcceptanceDefect
impl Unpin for AcceptanceDefect
impl UnsafeUnpin for AcceptanceDefect
impl UnwindSafe for AcceptanceDefect
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