pub enum SubnetType {
System,
Application,
VerifiedApplication,
Unknown(String),
}Expand description
The type of an IC subnet, as reported in the state tree under /subnet/<subnet_id>/type.
This leaf is present for certification version V25 and higher.
Variants§
System
The NNS subnet and other system-level subnets.
Application
A standard application subnet.
VerifiedApplication
A verified application subnet.
Unknown(String)
An unrecognized subnet type string, preserved for forward compatibility.
Trait Implementations§
Source§impl Clone for SubnetType
impl Clone for SubnetType
Source§fn clone(&self) -> SubnetType
fn clone(&self) -> SubnetType
Returns a duplicate of the value. Read more
1.0.0 · 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 SubnetType
impl Debug for SubnetType
Source§impl PartialEq for SubnetType
impl PartialEq for SubnetType
impl Eq for SubnetType
impl StructuralPartialEq for SubnetType
Auto Trait Implementations§
impl Freeze for SubnetType
impl RefUnwindSafe for SubnetType
impl Send for SubnetType
impl Sync for SubnetType
impl Unpin for SubnetType
impl UnsafeUnpin for SubnetType
impl UnwindSafe for SubnetType
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.