pub struct V2VerifyCallbacks {
pub receiver_binding: Option<V2ReceiverBindingHook>,
pub claim_store: Option<Arc<dyn ClaimStoreV2>>,
pub trust: Option<V2TrustProvider>,
pub status_evidence: Option<V2StatusEvidenceProvider>,
pub status_journal: Option<Arc<dyn SecurityJournalStoreV2>>,
pub audience: Option<V2AudienceProvider>,
pub rate: Option<Arc<dyn V2RateReservationStore>>,
}Expand description
The verifier-owned dependencies of the live v2 decision path.
claim_store is required. A callback that returns an error or panics is
handled fail-closed: trust -> trust_unavailable, status -> unavailable
for that issuer, audience -> constraint_unverifiable, rate ->
constraint_unverifiable. If the caller’s context has ended when a
callback fails, nothing is committed (evaluation_cancelled) and the claim
remains in progress for lease-expiry recovery.
Fields§
§receiver_binding: Option<V2ReceiverBindingHook>§claim_store: Option<Arc<dyn ClaimStoreV2>>§trust: Option<V2TrustProvider>§status_evidence: Option<V2StatusEvidenceProvider>A bounded batch of signed status objects for one issuer; never a status result.
status_journal: Option<Arc<dyn SecurityJournalStoreV2>>The rollback-protected, anchored security journal the evidence is applied to. Without it every status is unavailable.
audience: Option<V2AudienceProvider>§rate: Option<Arc<dyn V2RateReservationStore>>Trait Implementations§
Source§impl Clone for V2VerifyCallbacks
impl Clone for V2VerifyCallbacks
Source§impl Debug for V2VerifyCallbacks
impl Debug for V2VerifyCallbacks
Auto Trait Implementations§
impl !RefUnwindSafe for V2VerifyCallbacks
impl !UnwindSafe for V2VerifyCallbacks
impl Forget for V2VerifyCallbacks
impl Freeze for V2VerifyCallbacks
impl Send for V2VerifyCallbacks
impl Sync for V2VerifyCallbacks
impl Unpin for V2VerifyCallbacks
impl UnsafeUnpin for V2VerifyCallbacks
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