pub enum TopologyProfile {
Hierarchical,
Federated,
CrossRecognized,
Mesh,
}Expand description
The four trust topology profiles (§19 topology-declaration).
Variants§
Hierarchical
Single root, strict delegation tree.
Federated
Threshold groups of independent organizations share aggregate keys.
CrossRecognized
Roots attest each other via signed cross-recognition credentials.
Mesh
Many-to-many peer recognition without a distinguished root.
Implementations§
Source§impl TopologyProfile
impl TopologyProfile
Sourcepub fn conformance_class(&self) -> &'static str
pub fn conformance_class(&self) -> &'static str
The conformance-class identifier for this profile.
Trait Implementations§
Source§impl Clone for TopologyProfile
impl Clone for TopologyProfile
Source§fn clone(&self) -> TopologyProfile
fn clone(&self) -> TopologyProfile
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 TopologyProfile
Source§impl Debug for TopologyProfile
impl Debug for TopologyProfile
Source§impl<'de> Deserialize<'de> for TopologyProfile
impl<'de> Deserialize<'de> for TopologyProfile
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
impl Eq for TopologyProfile
Source§impl PartialEq for TopologyProfile
impl PartialEq for TopologyProfile
Source§fn eq(&self, other: &TopologyProfile) -> bool
fn eq(&self, other: &TopologyProfile) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for TopologyProfile
impl Serialize for TopologyProfile
impl StructuralPartialEq for TopologyProfile
Auto Trait Implementations§
impl Freeze for TopologyProfile
impl RefUnwindSafe for TopologyProfile
impl Send for TopologyProfile
impl Sync for TopologyProfile
impl Unpin for TopologyProfile
impl UnsafeUnpin for TopologyProfile
impl UnwindSafe for TopologyProfile
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