pub struct VerbRegistryBuilder { /* private fields */ }Expand description
Builder for constructing a VerbRegistry.
Packs are registered here; once .build() is called the registry is
immutable and cheaply cloneable.
Implementations§
Source§impl VerbRegistryBuilder
impl VerbRegistryBuilder
Sourcepub fn new() -> Self
pub fn new() -> Self
Create a builder with no packs, AllowAllGate, and the local namespace as default.
Sourcepub fn with_disabled_verbs(&mut self, pack: &str, verbs: &[String]) -> &mut Self
pub fn with_disabled_verbs(&mut self, pack: &str, verbs: &[String]) -> &mut Self
Disable public handlers owned by a loaded pack; validated when the registry builds.
Sourcepub fn with_visible_namespaces(&mut self, ns: Vec<Namespace>) -> &mut Self
pub fn with_visible_namespaces(&mut self, ns: Vec<Namespace>) -> &mut Self
Set the operator-configured read-visibility set (ADR-007 Rev 4 Rule 3b).
On the default (no explicit namespace= param) dispatch path, reads fan
out over ['local'] ∪ ns. Writes remain pinned to 'local'. An explicit
namespace= request parameter is a precise single-namespace escape and
is not widened by this set. A cloud gate may also consult the list as
policy input at its own layer.
Sourcepub fn with_owned_namespaces(&mut self, ns: Vec<Namespace>) -> &mut Self
pub fn with_owned_namespaces(&mut self, ns: Vec<Namespace>) -> &mut Self
Set the namespaces the configured actor declared it owns (ADR-021 Delta 1).
Every token the registry mints carries this list, and the
memory.apply_batch old-row namespace check admits an old row in a listed
namespace like one in the caller’s own namespace. Ownership grants no
write into the namespace and widens no read; visible_namespaces stays a
read-only grant. A per-request identity overrides this baked list.
Sourcepub fn with_actor_id(&mut self, actor_id: Option<String>) -> &mut Self
pub fn with_actor_id(&mut self, actor_id: Option<String>) -> &mut Self
Set the configured actor identity label (ADR-057).
When set, the dispatch path mints tokens carrying this actor so that
comm.inbox applies the to_actor filter for directed delivery.
When None (default), tokens carry ActorRef::anonymous() and inbox
falls back to party-line behavior.
Sourcepub fn register<P: Pack + PackRuntime + 'static>(
&mut self,
pack: P,
) -> &mut Self
pub fn register<P: Pack + PackRuntime + 'static>( &mut self, pack: P, ) -> &mut Self
Register a pack. The bound P: Pack + PackRuntime ensures the pack
declares vocabulary via Pack consts alongside runtime dispatch.
This is the untrusted path: reachable from any external pack crate,
so the pack registered here is never eligible for admission-degrade
under VerbRegistry::admission_degrade_safe, regardless of what
pack.name()/handler category it reports. Use register_boxed
(composition root) or register_trusted (tests) for a pack the
caller actually vouches for.
Sourcepub fn register_mounted(
&mut self,
pack: Box<dyn PackRuntime>,
) -> Result<&mut Self, RuntimeError>
pub fn register_mounted( &mut self, pack: Box<dyn PackRuntime>, ) -> Result<&mut Self, RuntimeError>
Register an owned mounted namespace without native-pack trust privileges.
Sourcepub fn register_resolver(
&mut self,
name: impl Into<String>,
resolver: Box<dyn PackByIdResolver>,
) -> &mut Self
pub fn register_resolver( &mut self, name: impl Into<String>, resolver: Box<dyn PackByIdResolver>, ) -> &mut Self
Register a by-ID resolver for a pack that owns private SQL tables.
Packs that implement PackByIdResolver call this during their boot path
so that get(id) and delete(id) can reach their records.
Sourcepub fn with_gate(&mut self, gate: GateRef) -> &mut Self
pub fn with_gate(&mut self, gate: GateRef) -> &mut Self
Set the authorization gate consulted on every dispatch.
Defaults to AllowAllGate if not set. Deny is authoritative — a deny
decision aborts dispatch with RuntimeError::PermissionDenied. Gate
infrastructure errors abort dispatch with RuntimeError::GateUnavailable.
Sourcepub fn with_default_namespace(&mut self, ns: impl Into<String>) -> &mut Self
pub fn with_default_namespace(&mut self, ns: impl Into<String>) -> &mut Self
Set the namespace surfaced to the gate when a verb does not carry an
explicit namespace argument. Transports should plumb the runtime’s
default_namespace so the gate’s input.namespace always reflects
the operation’s true tenant.
Sourcepub fn with_event_store(&mut self, store: Arc<dyn EventStore>) -> &mut Self
pub fn with_event_store(&mut self, store: Arc<dyn EventStore>) -> &mut Self
Set the EventStore used to persist audit events.
When configured, every gate check appends one Event (substrate =
Event, outcome = Success on allow, Denied on deny, or Error on
gate unavailability) in addition to the tracing::info! emission.
Callers that do not set this field continue to use tracing-only emission
(the v0.2 default), except git.digest: its successful response carries
a durable receipt and therefore fails safely when no store is configured.
Sourcepub fn with_runtime_event_store(
&mut self,
runtime: &KhiveRuntime,
) -> Result<&mut Self, RuntimeError>
pub fn with_runtime_event_store( &mut self, runtime: &KhiveRuntime, ) -> Result<&mut Self, RuntimeError>
Configure the registry’s trusted audit sink from a runtime.
Registry audit constructors stamp namespace and actor directly from
each resolved GateRequest, including per-request daemon identity
overrides. This deliberately uses the runtime’s undecorated sink: the
public token-scoped KhiveRuntime::events decorator would otherwise
replace every per-request stamp with the single actor that happened to
construct the registry.
The sink is resolved during Self::build using the final default
namespace, so the order of namespace and sink configuration does not
change its read scope. Sink initialization errors are returned by build:
a serving registry never silently drops a configured runtime audit sink.
Metadata builds and explicit replacement sinks do not open this sink.
Sourcepub fn with_audit_batch_config(&mut self, config: AuditBatchConfig) -> &mut Self
pub fn with_audit_batch_config(&mut self, config: AuditBatchConfig) -> &mut Self
Override the ADR-133 audit-batch seam’s tunables, applied when
build() lazily constructs the batch from event_store.
None (the default) uses AuditBatchConfig::default(). Exposed for
tests that need to force a small max_pending_rows or a short
admission_deadline to exercise admission-pressure paths
deterministically (#2117, #2147, #2208, #2217).
Sourcepub fn with_audit_success_rows_mode(
&mut self,
mode: AuditSuccessRowsMode,
) -> &mut Self
pub fn with_audit_success_rows_mode( &mut self, mode: AuditSuccessRowsMode, ) -> &mut Self
Override KHIVE_AUDIT_SUCCESS_ROWS for this registry (ADR-103 Amendment 7).
Sourcepub fn with_read_only_audit_store(&mut self) -> &mut Self
pub fn with_read_only_audit_store(&mut self) -> &mut Self
Mark audit persistence unavailable because its backend is read-only.
No EventStore is retained, so dispatch never attempts a write that is
known to fail. Successful request entries expose a machine-readable
advisory without changing their canonical verb result shape.
Sourcepub fn with_dispatch_hook(&mut self, hook: Arc<dyn DispatchHook>) -> &mut Self
pub fn with_dispatch_hook(&mut self, hook: Arc<dyn DispatchHook>) -> &mut Self
Register a post-dispatch hook.
When set, every successful pack dispatch calls hook.on_dispatch(view)
with a synthetic EventView describing the verb outcome. Its
observations vector is empty; callers that need persisted provenance
must load it explicitly. The hook is opt-in: registries without a hook
incur zero overhead on the dispatch hot path.
Brain pack uses this as a best-effort in-memory update path. Errors from
on_dispatch are logged via tracing::warn! and never propagated.
Sourcepub fn build(self) -> Result<VerbRegistry, RuntimeError>
pub fn build(self) -> Result<VerbRegistry, RuntimeError>
Consume the builder and produce an immutable, cloneable registry.
Performs a topological sort of packs using Kahn’s algorithm. Returns an error if any declared dependency is missing from the loaded pack set, or if a circular dependency is detected.
Sourcepub fn build_metadata(self) -> Result<PackMetadataRegistry, RuntimeError>
pub fn build_metadata(self) -> Result<PackMetadataRegistry, RuntimeError>
Inspect pack metadata without activating any registered pack. The result exposes no dispatch, preparation hooks, or serving-registry conversion.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for VerbRegistryBuilder
impl !UnwindSafe for VerbRegistryBuilder
impl Forget for VerbRegistryBuilder
impl Freeze for VerbRegistryBuilderwhere
*const u8 is !null: Freeze,
PhantomData<Box<dyn PackRuntime>>: Freeze,
PhantomData<(String, &'static str)>: Freeze,
PhantomData<bool>: Freeze,
PhantomData<(String, Vec<String>)>: Freeze,
PhantomData<(String, Box<dyn PackByIdResolver>)>: Freeze,
*const ArcInner<KgReadResolver> is !null: Freeze,
PhantomData<ArcInner<KgReadResolver>>: Freeze,
*const ArcInner<dyn Gate> is !null: Freeze,
PhantomData<ArcInner<dyn Gate>>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<Namespace>: Freeze,
*const ArcInner<dyn EventStore> is !null: Freeze,
PhantomData<ArcInner<dyn EventStore>>: Freeze,
*const ArcInner<ReceiptCapability> is !null: Freeze,
PhantomData<ArcInner<ReceiptCapability>>: Freeze,
*const ArcInner<ReceiptCutover> is !null: Freeze,
PhantomData<ArcInner<ReceiptCutover>>: Freeze,
*const ArcInner<StorageBackend> is !null: Freeze,
PhantomData<ArcInner<StorageBackend>>: Freeze,
*const ArcInner<RwLock<HashMap<String, CachedNamedVectorStores>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<HashMap<String, CachedNamedVectorStores>>>>: Freeze,
*const ArcInner<ConfigLockLedger> is !null: Freeze,
PhantomData<ArcInner<ConfigLockLedger>>: Freeze,
*const ArcInner<Domain> is !null: Freeze,
PhantomData<ArcInner<Domain>>: Freeze,
*const ArcInner<Handle> is !null: Freeze,
PhantomData<ArcInner<Handle>>: Freeze,
*const ArcInner<Handle> is !null: Freeze,
PhantomData<ArcInner<Handle>>: Freeze,
*const ArcInner<ExternalOwner> is !null: Freeze,
PhantomData<ArcInner<ExternalOwner>>: Freeze,
PhantomData<CredentialConfig>: Freeze,
PhantomData<VisibilityReceiptKeyConfig>: Freeze,
PhantomData<MountConfig>: Freeze,
*const LeafNode<String, Value> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(String, Value)>>: Freeze,
*const LeafNode<String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>> is !null: Freeze,
PhantomData<Box<(String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>)>>: Freeze,
*const LeafNode<String, Arc<dyn ChannelSendRoute>> is !null: Freeze,
PhantomData<Box<(String, Arc<dyn ChannelSendRoute>)>>: Freeze,
PhantomData<CodeMapConfig>: Freeze,
PhantomData<PathBuf>: Freeze,
PhantomData<EngineConfig>: Freeze,
PhantomData<EmbeddingModel>: Freeze,
PhantomData<String>: Freeze,
PhantomData<GitWriteEntryConfig>: Freeze,
*const LeafNode<String, GitWriteActorConfig> is !null: Freeze,
PhantomData<Box<(String, GitWriteActorConfig)>>: Freeze,
*const LeafNode<String, GitWriteRepositoryConfig> is !null: Freeze,
PhantomData<Box<(String, GitWriteRepositoryConfig)>>: Freeze,
PhantomData<ExecToolProfileConfig>: Freeze,
PhantomData<TelemetryChannelConfig>: Freeze,
PhantomData<WebAllowlistEntry>: Freeze,
PhantomData<WebCredentialConfig>: Freeze,
PhantomData<WebSearchProviderConfig>: Freeze,
*const ArcInner<CodeMapRegistry> is !null: Freeze,
PhantomData<ArcInner<CodeMapRegistry>>: Freeze,
*const ArcInner<OutboundEmailPolicy> is !null: Freeze,
PhantomData<ArcInner<OutboundEmailPolicy>>: Freeze,
*const ArcInner<[PathBuf]> is !null: Freeze,
PhantomData<ArcInner<[PathBuf]>>: Freeze,
*const ArcInner<[OpenedDiagnosticBackend]> is !null: Freeze,
PhantomData<ArcInner<[OpenedDiagnosticBackend]>>: Freeze,
*const ArcInner<Mutex<Vec<LateOpenedDiagnosticBackend>>> is !null: Freeze,
PhantomData<ArcInner<Mutex<Vec<LateOpenedDiagnosticBackend>>>>: Freeze,
*const ArcInner<RwLock<EmbedderRegistry>> is !null: Freeze,
PhantomData<ArcInner<RwLock<EmbedderRegistry>>>: Freeze,
*const ArcInner<str> is !null: Freeze,
PhantomData<ArcInner<str>>: Freeze,
*const ArcInner<RwLock<Vec<EdgeEndpointRule>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<Vec<EdgeEndpointRule>>>>: Freeze,
*const ArcInner<RwLock<Vec<String>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<Vec<String>>>>: Freeze,
*const ArcInner<RwLock<Vec<NoteKindEntry>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<Vec<NoteKindEntry>>>>: Freeze,
*const ArcInner<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>>>: Freeze,
*const ArcInner<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>>>: Freeze,
*const ArcInner<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>>>: Freeze,
*const ArcInner<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>>>: Freeze,
*const ArcInner<RwLock<Vec<(String, Arc<dyn KindHook>)>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<Vec<(String, Arc<dyn KindHook>)>>>>: Freeze,
*const ArcInner<OnceLock<Arc<BlobHydrator>>> is !null: Freeze,
PhantomData<ArcInner<OnceLock<Arc<BlobHydrator>>>>: Freeze,
*const ArcInner<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>>>: Freeze,
*const ArcInner<dyn DispatchHook> is !null: Freeze,
PhantomData<ArcInner<dyn DispatchHook>>: Freeze,
NonZero<usize>: Freeze,
NonZero<u8>: Freeze,
impl Move for VerbRegistryBuilder
impl Send for VerbRegistryBuilderwhere
RawVecInner: Send,
BoxRaw<dyn PackRuntime>: Send,
RawTable<(String, &'static str)>: Send,
RawTable<(String, Vec<String>)>: Send,
BoxRaw<dyn PackByIdResolver>: Send,
Arc<KgReadResolver>: Send,
Arc<dyn Gate>: Send,
Arc<dyn EventStore>: Send,
Arc<ReceiptCapability>: Send,
Arc<ReceiptCutover>: Send,
Arc<StorageBackend>: Send,
Arc<RwLock<HashMap<String, CachedNamedVectorStores>>>: Send,
Arc<ConfigLockLedger>: Send,
Arc<Domain>: Send,
Arc<Handle>: Send,
Arc<Handle>: Send,
Arc<ExternalOwner>: Send,
NodeRef<Owned, String, Value, LeafOrInternal>: Send,
BoxRaw<(String, Value)>: Send,
NodeRef<Owned, String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>, LeafOrInternal>: Send,
BoxRaw<(String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>)>: Send,
NodeRef<Owned, String, Arc<dyn ChannelSendRoute>, LeafOrInternal>: Send,
BoxRaw<(String, Arc<dyn ChannelSendRoute>)>: Send,
NodeRef<Owned, String, GitWriteActorConfig, LeafOrInternal>: Send,
BoxRaw<(String, GitWriteActorConfig)>: Send,
NodeRef<Owned, String, GitWriteRepositoryConfig, LeafOrInternal>: Send,
BoxRaw<(String, GitWriteRepositoryConfig)>: Send,
Arc<CodeMapRegistry>: Send,
Arc<OutboundEmailPolicy>: Send,
Arc<[PathBuf]>: Send,
Arc<[OpenedDiagnosticBackend]>: Send,
Arc<Mutex<Vec<LateOpenedDiagnosticBackend>>>: Send,
Arc<RwLock<EmbedderRegistry>>: Send,
Arc<str>: Send,
Arc<RwLock<Vec<EdgeEndpointRule>>>: Send,
Arc<RwLock<Vec<String>>>: Send,
Arc<RwLock<Vec<NoteKindEntry>>>: Send,
Arc<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>>: Send,
Arc<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>>: Send,
Arc<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>>: Send,
Arc<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>>: Send,
Arc<RwLock<Vec<(String, Arc<dyn KindHook>)>>>: Send,
Arc<OnceLock<Arc<BlobHydrator>>>: Send,
Arc<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>>: Send,
Arc<dyn DispatchHook>: Send,
NonZero<usize>: Send,
NonZero<u8>: Send,
impl Sync for VerbRegistryBuilderwhere
RawVecInner: Sync,
BoxRaw<dyn PackRuntime>: Sync,
RawTable<(String, &'static str)>: Sync,
RawTable<(String, Vec<String>)>: Sync,
BoxRaw<dyn PackByIdResolver>: Sync,
Arc<KgReadResolver>: Sync,
Arc<dyn Gate>: Sync,
Arc<dyn EventStore>: Sync,
Arc<ReceiptCapability>: Sync,
Arc<ReceiptCutover>: Sync,
Arc<StorageBackend>: Sync,
Arc<RwLock<HashMap<String, CachedNamedVectorStores>>>: Sync,
Arc<ConfigLockLedger>: Sync,
Arc<Domain>: Sync,
Arc<Handle>: Sync,
Arc<Handle>: Sync,
Arc<ExternalOwner>: Sync,
NodeRef<Owned, String, Value, LeafOrInternal>: Sync,
BoxRaw<(String, Value)>: Sync,
NodeRef<Owned, String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>, LeafOrInternal>: Sync,
BoxRaw<(String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>)>: Sync,
NodeRef<Owned, String, Arc<dyn ChannelSendRoute>, LeafOrInternal>: Sync,
BoxRaw<(String, Arc<dyn ChannelSendRoute>)>: Sync,
NodeRef<Owned, String, GitWriteActorConfig, LeafOrInternal>: Sync,
BoxRaw<(String, GitWriteActorConfig)>: Sync,
NodeRef<Owned, String, GitWriteRepositoryConfig, LeafOrInternal>: Sync,
BoxRaw<(String, GitWriteRepositoryConfig)>: Sync,
Arc<CodeMapRegistry>: Sync,
Arc<OutboundEmailPolicy>: Sync,
Arc<[PathBuf]>: Sync,
Arc<[OpenedDiagnosticBackend]>: Sync,
Arc<Mutex<Vec<LateOpenedDiagnosticBackend>>>: Sync,
Arc<RwLock<EmbedderRegistry>>: Sync,
Arc<str>: Sync,
Arc<RwLock<Vec<EdgeEndpointRule>>>: Sync,
Arc<RwLock<Vec<String>>>: Sync,
Arc<RwLock<Vec<NoteKindEntry>>>: Sync,
Arc<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>>: Sync,
Arc<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>>: Sync,
Arc<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>>: Sync,
Arc<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>>: Sync,
Arc<RwLock<Vec<(String, Arc<dyn KindHook>)>>>: Sync,
Arc<OnceLock<Arc<BlobHydrator>>>: Sync,
Arc<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>>: Sync,
Arc<dyn DispatchHook>: Sync,
NonZero<usize>: Sync,
NonZero<u8>: Sync,
impl Unpin for VerbRegistryBuilderwhere
*const u8 is !null: Unpin,
Box<dyn PackRuntime>: Unpin,
&'static str: Unpin,
Box<dyn PackByIdResolver>: Unpin,
Arc<KgReadResolver>: Unpin,
Arc<dyn Gate>: Unpin,
Arc<dyn EventStore>: Unpin,
Arc<ReceiptCapability>: Unpin,
Arc<ReceiptCutover>: Unpin,
Arc<StorageBackend>: Unpin,
Arc<RwLock<HashMap<String, CachedNamedVectorStores>>>: Unpin,
Arc<ConfigLockLedger>: Unpin,
Arc<Domain>: Unpin,
Arc<Handle>: Unpin,
Arc<Handle>: Unpin,
Arc<ExternalOwner>: Unpin,
*const LeafNode<String, Value> is !null: Unpin,
Box<(String, Value)>: Unpin,
*const LeafNode<String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>> is !null: Unpin,
Box<(String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>)>: Unpin,
*const LeafNode<String, Arc<dyn ChannelSendRoute>> is !null: Unpin,
Box<(String, Arc<dyn ChannelSendRoute>)>: Unpin,
*const LeafNode<String, GitWriteActorConfig> is !null: Unpin,
Box<(String, GitWriteActorConfig)>: Unpin,
*const LeafNode<String, GitWriteRepositoryConfig> is !null: Unpin,
Box<(String, GitWriteRepositoryConfig)>: Unpin,
Arc<CodeMapRegistry>: Unpin,
Arc<OutboundEmailPolicy>: Unpin,
Arc<[PathBuf]>: Unpin,
Arc<[OpenedDiagnosticBackend]>: Unpin,
Arc<Mutex<Vec<LateOpenedDiagnosticBackend>>>: Unpin,
Arc<RwLock<EmbedderRegistry>>: Unpin,
Arc<str>: Unpin,
Arc<RwLock<Vec<EdgeEndpointRule>>>: Unpin,
Arc<RwLock<Vec<String>>>: Unpin,
Arc<RwLock<Vec<NoteKindEntry>>>: Unpin,
Arc<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>>: Unpin,
Arc<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>>: Unpin,
Arc<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>>: Unpin,
Arc<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>>: Unpin,
Arc<RwLock<Vec<(String, Arc<dyn KindHook>)>>>: Unpin,
Arc<OnceLock<Arc<BlobHydrator>>>: Unpin,
Arc<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>>: Unpin,
Arc<dyn DispatchHook>: Unpin,
NonZero<usize>: Unpin,
NonZero<u8>: Unpin,
impl UnsafeUnpin for VerbRegistryBuilderwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<Box<dyn PackRuntime>>: UnsafeUnpin,
PhantomData<(String, &'static str)>: UnsafeUnpin,
PhantomData<bool>: UnsafeUnpin,
PhantomData<(String, Vec<String>)>: UnsafeUnpin,
PhantomData<(String, Box<dyn PackByIdResolver>)>: UnsafeUnpin,
*const ArcInner<KgReadResolver> is !null: UnsafeUnpin,
PhantomData<ArcInner<KgReadResolver>>: UnsafeUnpin,
*const ArcInner<dyn Gate> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Gate>>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<Namespace>: UnsafeUnpin,
*const ArcInner<dyn EventStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn EventStore>>: UnsafeUnpin,
*const ArcInner<ReceiptCapability> is !null: UnsafeUnpin,
PhantomData<ArcInner<ReceiptCapability>>: UnsafeUnpin,
*const ArcInner<ReceiptCutover> is !null: UnsafeUnpin,
PhantomData<ArcInner<ReceiptCutover>>: UnsafeUnpin,
*const ArcInner<StorageBackend> is !null: UnsafeUnpin,
PhantomData<ArcInner<StorageBackend>>: UnsafeUnpin,
*const ArcInner<RwLock<HashMap<String, CachedNamedVectorStores>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<HashMap<String, CachedNamedVectorStores>>>>: UnsafeUnpin,
*const ArcInner<ConfigLockLedger> is !null: UnsafeUnpin,
PhantomData<ArcInner<ConfigLockLedger>>: UnsafeUnpin,
*const ArcInner<Domain> is !null: UnsafeUnpin,
PhantomData<ArcInner<Domain>>: UnsafeUnpin,
*const ArcInner<Handle> is !null: UnsafeUnpin,
PhantomData<ArcInner<Handle>>: UnsafeUnpin,
*const ArcInner<Handle> is !null: UnsafeUnpin,
PhantomData<ArcInner<Handle>>: UnsafeUnpin,
*const ArcInner<ExternalOwner> is !null: UnsafeUnpin,
PhantomData<ArcInner<ExternalOwner>>: UnsafeUnpin,
PhantomData<CredentialConfig>: UnsafeUnpin,
PhantomData<VisibilityReceiptKeyConfig>: UnsafeUnpin,
PhantomData<MountConfig>: UnsafeUnpin,
*const LeafNode<String, Value> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(String, Value)>>: UnsafeUnpin,
*const LeafNode<String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Arc<dyn Fn(Option<&Value>) -> Result<(), RuntimeError> + Sync + Send>)>>: UnsafeUnpin,
*const LeafNode<String, Arc<dyn ChannelSendRoute>> is !null: UnsafeUnpin,
PhantomData<Box<(String, Arc<dyn ChannelSendRoute>)>>: UnsafeUnpin,
PhantomData<CodeMapConfig>: UnsafeUnpin,
PhantomData<PathBuf>: UnsafeUnpin,
PhantomData<EngineConfig>: UnsafeUnpin,
PhantomData<EmbeddingModel>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
PhantomData<GitWriteEntryConfig>: UnsafeUnpin,
*const LeafNode<String, GitWriteActorConfig> is !null: UnsafeUnpin,
PhantomData<Box<(String, GitWriteActorConfig)>>: UnsafeUnpin,
*const LeafNode<String, GitWriteRepositoryConfig> is !null: UnsafeUnpin,
PhantomData<Box<(String, GitWriteRepositoryConfig)>>: UnsafeUnpin,
PhantomData<ExecToolProfileConfig>: UnsafeUnpin,
PhantomData<TelemetryChannelConfig>: UnsafeUnpin,
PhantomData<WebAllowlistEntry>: UnsafeUnpin,
PhantomData<WebCredentialConfig>: UnsafeUnpin,
PhantomData<WebSearchProviderConfig>: UnsafeUnpin,
*const ArcInner<CodeMapRegistry> is !null: UnsafeUnpin,
PhantomData<ArcInner<CodeMapRegistry>>: UnsafeUnpin,
*const ArcInner<OutboundEmailPolicy> is !null: UnsafeUnpin,
PhantomData<ArcInner<OutboundEmailPolicy>>: UnsafeUnpin,
*const ArcInner<[PathBuf]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[PathBuf]>>: UnsafeUnpin,
*const ArcInner<[OpenedDiagnosticBackend]> is !null: UnsafeUnpin,
PhantomData<ArcInner<[OpenedDiagnosticBackend]>>: UnsafeUnpin,
*const ArcInner<Mutex<Vec<LateOpenedDiagnosticBackend>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Mutex<Vec<LateOpenedDiagnosticBackend>>>>: UnsafeUnpin,
*const ArcInner<RwLock<EmbedderRegistry>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<EmbedderRegistry>>>: UnsafeUnpin,
*const ArcInner<str> is !null: UnsafeUnpin,
PhantomData<ArcInner<str>>: UnsafeUnpin,
*const ArcInner<RwLock<Vec<EdgeEndpointRule>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<Vec<EdgeEndpointRule>>>>: UnsafeUnpin,
*const ArcInner<RwLock<Vec<String>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<Vec<String>>>>: UnsafeUnpin,
*const ArcInner<RwLock<Vec<NoteKindEntry>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<Vec<NoteKindEntry>>>>: UnsafeUnpin,
*const ArcInner<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<Option<Arc<dyn Fn(&str, Option<&str>) -> Result<Option<String>, RuntimeError> + Sync + Send>>>>>: UnsafeUnpin,
*const ArcInner<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<Option<Arc<dyn Fn(String, Uuid) -> Pin<Box<dyn Future<Output = ()> + Send>> + Sync + Send>>>>>: UnsafeUnpin,
*const ArcInner<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<Option<Arc<dyn NoteSearchAnnProvider>>>>>: UnsafeUnpin,
*const ArcInner<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<Option<Arc<dyn Fn(&str, &str, Option<Value>) -> Result<Option<Value>, RuntimeError> + Sync + Send>>>>>: UnsafeUnpin,
*const ArcInner<RwLock<Vec<(String, Arc<dyn KindHook>)>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<Vec<(String, Arc<dyn KindHook>)>>>>: UnsafeUnpin,
*const ArcInner<OnceLock<Arc<BlobHydrator>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<OnceLock<Arc<BlobHydrator>>>>: UnsafeUnpin,
*const ArcInner<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<HashMap<String, Arc<dyn FusionExecutor>>>>>: UnsafeUnpin,
*const ArcInner<dyn DispatchHook> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn DispatchHook>>: UnsafeUnpin,
NonZeroUsizeInner: UnsafeUnpin,
NonZeroU8Inner: UnsafeUnpin,
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
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