Expand description
Pack runtime trait and verb registry.
PackRuntime mirrors Pack’s const associated items as methods for object safety.
Build a VerbRegistry via VerbRegistryBuilder::build(); registration is builder-only.
Structs§
- Edge
Endpoint Rule - A pack-declared endpoint rule for a specific edge relation.
- Handler
Def - Handler metadata for discovery and documentation.
- Note
Kind Spec - Kind-level schema specification for a note kind.
- Note
Lifecycle Spec - Lifecycle specification for a note kind.
- Pack
Registration - Newtype wrapper collected by
inventoryso pack crates can submit&'static dyn PackFactoryreferences without the type-ascription syntax thatinventory::submit!does not support for bare trait-object references. - Pack
Registry - Registry of pack factories discovered via
inventoryat link time. - Pack
Schema Plan - DDL statements the pack needs applied to the auxiliary schema.
- Param
Def - Parameter type for
help=trueschema envelopes. - Schema
Plan - Pack-auxiliary schema plan.
- Verb
Registry - Immutable registry that dispatches verb calls to registered packs.
- Verb
Registry Builder - Builder for constructing a
VerbRegistry.
Enums§
- Endpoint
Kind - Match spec for one end of an
EdgeEndpointRule. - Pack
Load Error - Error returned by
PackRegistry::register_packswhen boot validation fails. - Verb
Category - Illocutionary force classification for a verb handler.
- Verb
Presentation Policy - Presentation override for a verb handler.
- Visibility
- Visibility tier for a handler.
Traits§
- Dispatch
Hook - Hook called after every successful verb dispatch (Issue #158).
- Kind
Hook - Per-kind specialization for shared CRUD.
- Pack
Factory - Factory for creating pack instances registered via
inventoryat link time. Each pack crate submits a&'static dyn PackFactorywrapped in aPackRegistration; the binary’s linker collects them all into a single slice iterable at runtime. - Pack
Runtime - Async dispatch trait for packs.
Type Aliases§
- VerbDef
Deprecated - Backward-compatible type alias. Existing code that names
VerbDefstill compiles; new code should useHandlerDefdirectly.