pub enum Family {
Core,
Lifecycle,
Graph,
Governance,
Power,
Meta,
Archive,
Other,
}Expand description
A tool family. Source-anchored at src/mcp.rs::tool_definitions()
2026-05-04. Counts must sum to 43 (the v0.6.3.1 baseline).
Variants§
Core
store, recall, list, get, search — 5
Lifecycle
update, delete, forget, gc, promote — 5
Graph
kg_query, kg_timeline, kg_invalidate, link, get_links, entity_register, entity_get_by_alias, get_taxonomy — 8
Governance
pending_list/approve/reject, namespace_set/get/clear_standard, subscribe, unsubscribe — 8
Power
consolidate, detect_contradiction, check_duplicate, auto_tag, expand_query, inbox — 6
Meta
capabilities, agent_register, agent_list, session_start, stats — 5
Archive
archive_list, archive_purge, archive_restore, archive_stats — 4
Other
list_subscriptions, notify — 2
Implementations§
Source§impl Family
impl Family
Sourcepub fn for_tool(name: &str) -> Option<Self>
pub fn for_tool(name: &str) -> Option<Self>
Lookup the family that owns a given tool name. Source-anchored
at src/mcp.rs::tool_definitions() 2026-05-04. Every name listed
in the v0.6.3.1 baseline is covered; None means the tool is
either unknown to this enumeration or moved out of bounds (which
should make tool_definitions_returns_43_tools red and force a
reconciliation).
Sourcepub const fn all() -> &'static [Family]
pub const fn all() -> &'static [Family]
All eight families in declaration order. Useful for --profile full
and for the ProfileParseError::UnknownFamily diagnostic.
Sourcepub const fn expected_tool_count(self) -> usize
pub const fn expected_tool_count(self) -> usize
Expected tool count for this family. v0.6.4-002 will assert
that the actual register_<family> matches this constant.
Trait Implementations§
Source§impl Ord for Family
impl Ord for Family
Source§impl PartialOrd for Family
impl PartialOrd for Family
impl Copy for Family
impl Eq for Family
impl StructuralPartialEq for Family
Auto Trait Implementations§
impl Freeze for Family
impl RefUnwindSafe for Family
impl Send for Family
impl Sync for Family
impl Unpin for Family
impl UnsafeUnpin for Family
impl UnwindSafe for Family
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
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
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§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
key and return true if they are equal.Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more