pub enum TrustRole {
Root,
Intermediate,
Leaf,
}Expand description
Role of an agent in a trust hierarchy. Drives the base trust score before hop decay is applied.
Variants§
Root
Fully trusted issuer (self-attested, top of a delegation chain).
Intermediate
Trusted intermediary that delegates to others.
Leaf
Endpoint agent that performs work but does not delegate.
Trait Implementations§
impl Eq for TrustRole
impl StructuralPartialEq for TrustRole
Auto Trait Implementations§
impl Freeze for TrustRole
impl RefUnwindSafe for TrustRole
impl Send for TrustRole
impl Sync for TrustRole
impl Unpin for TrustRole
impl UnsafeUnpin for TrustRole
impl UnwindSafe for TrustRole
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.