Skip to main content

V2VerifyOutcome

Struct V2VerifyOutcome 

Source
pub struct V2VerifyOutcome {
    pub stage: V2VerifyStage,
    pub error: Option<V2Error>,
    pub error_class: Option<V2ErrorClass>,
    pub disposition: Option<V2ClaimDisposition>,
    pub claim: V2ChallengeClaim,
    pub committed: Option<CommittedV2Outcome>,
}
Expand description

The result of verify_proof_bundle_v2. It deliberately has no decision field: for Committed, committed is the opaque handoff to super::release_v2_decision. error (and error_class) is present exactly for Preflight and Evaluating (Go returns the error itself only for Evaluating).

Fields§

§stage: V2VerifyStage§error: Option<V2Error>§error_class: Option<V2ErrorClass>§disposition: Option<V2ClaimDisposition>§claim: V2ChallengeClaim§committed: Option<CommittedV2Outcome>

Trait Implementations§

Source§

impl Debug for V2VerifyOutcome

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = !

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, !>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.