pub enum TaxonomyAxis {
Hardware,
Software,
Devices,
Dataforts,
}Expand description
The four axes of the typed capability taxonomy.
Per CAPABILITY_SYSTEM_PLAN.md §1:
| Axis | Meaning |
|---|---|
hardware | What the node can do compute-wise. Objective, measurable. |
software | What the node currently runs. Configurable. |
devices | Custom semantic role tags. World-facing roles. |
dataforts | Storage capacity + hosted causal chains. |
Variants§
Hardware
Compute capabilities of the node — CPU / RAM / GPU / accelerators.
Software
Software stack — OS / runtimes / loaded models / available tools.
Devices
World-facing semantic role tags (printer, sensor, actuator).
Dataforts
Storage capacity + hosted causal chains (Rebel Yell axis).
Implementations§
Source§impl TaxonomyAxis
impl TaxonomyAxis
Sourcepub const fn as_str(self) -> &'static str
pub const fn as_str(self) -> &'static str
Lowercase prefix string used in tag encoding
(hardware, software, devices, dataforts).
Sourcepub fn from_prefix(s: &str) -> Option<TaxonomyAxis>
pub fn from_prefix(s: &str) -> Option<TaxonomyAxis>
Parse an axis prefix from its canonical string form. Returns
None for unknown axes (caller decides whether to treat as
legacy or reject).
Sourcepub const fn all() -> [TaxonomyAxis; 4]
pub const fn all() -> [TaxonomyAxis; 4]
All four axes in declaration order. Useful for iteration (e.g. enumerate-and-match against an unknown prefix).
Trait Implementations§
Source§impl Clone for TaxonomyAxis
impl Clone for TaxonomyAxis
Source§fn clone(&self) -> TaxonomyAxis
fn clone(&self) -> TaxonomyAxis
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 TaxonomyAxis
Source§impl Debug for TaxonomyAxis
impl Debug for TaxonomyAxis
Source§impl<'de> Deserialize<'de> for TaxonomyAxis
impl<'de> Deserialize<'de> for TaxonomyAxis
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<TaxonomyAxis, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<TaxonomyAxis, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Display for TaxonomyAxis
impl Display for TaxonomyAxis
impl Eq for TaxonomyAxis
Source§impl Hash for TaxonomyAxis
impl Hash for TaxonomyAxis
Source§impl Ord for TaxonomyAxis
impl Ord for TaxonomyAxis
Source§fn cmp(&self, other: &TaxonomyAxis) -> Ordering
fn cmp(&self, other: &TaxonomyAxis) -> Ordering
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
Source§impl PartialEq for TaxonomyAxis
impl PartialEq for TaxonomyAxis
Source§fn eq(&self, other: &TaxonomyAxis) -> bool
fn eq(&self, other: &TaxonomyAxis) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TaxonomyAxis
impl PartialOrd for TaxonomyAxis
Source§impl Serialize for TaxonomyAxis
impl Serialize for TaxonomyAxis
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
Serialize this value into the given Serde serializer. Read more
impl StructuralPartialEq for TaxonomyAxis
Auto Trait Implementations§
impl Freeze for TaxonomyAxis
impl RefUnwindSafe for TaxonomyAxis
impl Send for TaxonomyAxis
impl Sync for TaxonomyAxis
impl Unpin for TaxonomyAxis
impl UnsafeUnpin for TaxonomyAxis
impl UnwindSafe for TaxonomyAxis
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> CallHasher for T
impl<T> CallHasher for T
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.