pub enum BundleOutcome {
Clear {
active_aids: Vec<Aid>,
},
DegradedSubset {
active_aids: Vec<Aid>,
dropped_aids: Vec<Aid>,
},
}Expand description
Outcome of verifying a Session Trust Bundle.
Variants§
Clear
Every participant TCT verified clean. The full membership set is usable for coordinator-attested trust.
DegradedSubset
At least one participant’s TCT was revoked. Their AID is
removed from active_aids. The verifier’s own AID is still in
the active set (otherwise the bundle is useless to this
verifier and we’d return SessionBundleError::NotMember
equivalent — but keep this strictly informational; callers
decide policy).
Trait Implementations§
Source§impl Clone for BundleOutcome
impl Clone for BundleOutcome
Source§fn clone(&self) -> BundleOutcome
fn clone(&self) -> BundleOutcome
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 BundleOutcome
impl Debug for BundleOutcome
impl Eq for BundleOutcome
Source§impl PartialEq for BundleOutcome
impl PartialEq for BundleOutcome
impl StructuralPartialEq for BundleOutcome
Auto Trait Implementations§
impl Freeze for BundleOutcome
impl RefUnwindSafe for BundleOutcome
impl Send for BundleOutcome
impl Sync for BundleOutcome
impl Unpin for BundleOutcome
impl UnsafeUnpin for BundleOutcome
impl UnwindSafe for BundleOutcome
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.