pub enum CommTrustLevel {
None,
Minimal,
Basic,
Standard,
High,
Full,
Absolute,
}Expand description
Seven-level trust hierarchy for agent communication.
Variants are ordered from lowest to highest trust; deriving PartialOrd
and Ord uses discriminant order, so None < Minimal < ... < Absolute.
Variants§
None
No trust — all interactions blocked.
Minimal
Minimal trust — receive-only, no actions.
Basic
Basic trust — text messaging allowed.
Standard
Standard trust — full messaging + channels.
High
High trust — delegation, scheduling, federation.
Full
Full trust — all operations except system-level.
Absolute
Absolute trust — unrestricted.
Implementations§
Trait Implementations§
Source§impl Clone for CommTrustLevel
impl Clone for CommTrustLevel
Source§fn clone(&self) -> CommTrustLevel
fn clone(&self) -> CommTrustLevel
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 CommTrustLevel
Source§impl Debug for CommTrustLevel
impl Debug for CommTrustLevel
Source§impl Default for CommTrustLevel
impl Default for CommTrustLevel
Source§impl<'de> Deserialize<'de> for CommTrustLevel
impl<'de> Deserialize<'de> for CommTrustLevel
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for CommTrustLevel
impl Display for CommTrustLevel
impl Eq for CommTrustLevel
Source§impl FromStr for CommTrustLevel
impl FromStr for CommTrustLevel
Source§impl Hash for CommTrustLevel
impl Hash for CommTrustLevel
Source§impl Ord for CommTrustLevel
impl Ord for CommTrustLevel
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for CommTrustLevel
impl PartialEq for CommTrustLevel
Source§impl PartialOrd for CommTrustLevel
impl PartialOrd for CommTrustLevel
Source§impl Serialize for CommTrustLevel
impl Serialize for CommTrustLevel
impl StructuralPartialEq for CommTrustLevel
Auto Trait Implementations§
impl Freeze for CommTrustLevel
impl RefUnwindSafe for CommTrustLevel
impl Send for CommTrustLevel
impl Sync for CommTrustLevel
impl Unpin for CommTrustLevel
impl UnsafeUnpin for CommTrustLevel
impl UnwindSafe for CommTrustLevel
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