pub struct TenantKernelBuilder { /* private fields */ }Expand description
Builds TenantKernel (spec 3.2 §7.13, §10 M1).
Implementations§
Source§impl TenantKernelBuilder
impl TenantKernelBuilder
Sourcepub fn config(self, config: KernelConfig) -> Self
pub fn config(self, config: KernelConfig) -> Self
Sets the kernel configuration. Its app_name is replaced by the tenant and its control
plane cleared — every tenant’s kernel would otherwise open the socket of one shared
home — and its proactivity policy gives the limits of a tenant whose definitions set
none, with the consolidation tick off (spec 3.2 §13 Q1). Serve a tenant’s control
plane by mounting control::router(kernel) on the host’s server.
Sourcepub fn process_store(self, processes: Arc<dyn ProcessStore>) -> Self
pub fn process_store(self, processes: Arc<dyn ProcessStore>) -> Self
Sets the process side table, the tenant’s own. Defaults to in memory.
Sourcepub fn schedule_store(self, schedules: Arc<dyn ScheduleStore>) -> Self
pub fn schedule_store(self, schedules: Arc<dyn ScheduleStore>) -> Self
Sets the schedule store the kernel’s scheduler fires, the tenant’s own.
Sourcepub fn resolver(self, resolver: Arc<dyn AgentResolver>) -> Self
pub fn resolver(self, resolver: Arc<dyn AgentResolver>) -> Self
Builds the definitions’ agents with resolver, such as adk-harness’s
HarnessResolver. A definition with a kernel block needs an agent it builds.
Sourcepub fn action_ledger(self, ledger: Arc<dyn ActionLedger>) -> Self
pub fn action_ledger(self, ledger: Arc<dyn ActionLedger>) -> Self
Sets the action ledger the kernel’s runs record non-idempotent calls in, so a resumed process never runs a completed call again (K-I4).
Sourcepub fn spend_ledger(self, spend: Arc<dyn SpendLedger>) -> Self
pub fn spend_ledger(self, spend: Arc<dyn SpendLedger>) -> Self
Sets the spend ledger.
Sourcepub fn audit(self, trail: AuditTrail) -> Self
pub fn audit(self, trail: AuditTrail) -> Self
Sets the signed audit trail of the kernel’s records.
Sourcepub fn governance(self, control: GovernanceControl) -> Self
pub fn governance(self, control: GovernanceControl) -> Self
Sets the kill switch, such as one mirrored across the tenant’s replicas; it replaces the configuration’s.
Sourcepub fn agenda_store(self, store: Arc<dyn AgendaStore>) -> Self
pub fn agenda_store(self, store: Arc<dyn AgendaStore>) -> Self
Sets the agenda’s store, the tenant’s own. Defaults to in memory.
Sourcepub fn agenda_handle(self, handle: AgendaHandle) -> Self
pub fn agenda_handle(self, handle: AgendaHandle) -> Self
Binds handle to every kernel the tenant builds, such as the handle the tenant’s
harnesses were given (HarnessAgentBuilder::agenda_handle), so their follow-ups reach
the tenant’s agenda (spec 3.2 §7.5). Defaults to a new handle.
Sourcepub fn consolidator(
self,
partition: impl Into<PartitionId>,
consolidator: Arc<dyn Consolidator>,
) -> Self
pub fn consolidator( self, partition: impl Into<PartitionId>, consolidator: Arc<dyn Consolidator>, ) -> Self
Registers consolidator for partition: the tenant’s kernel runs its consolidation
tick there when a hosted definition’s policy turns the tick on (spec 3.2 §7.5,
§13 Q1).
Sourcepub fn partition_store(self, store: Arc<dyn PartitionStore>) -> Self
pub fn partition_store(self, store: Arc<dyn PartitionStore>) -> Self
Sets the tenant’s partition table and crossing ledger, the tenant’s own (spec 3.2 §7.8). Defaults to in memory.
Sourcepub fn partition_resolver(
self,
resolver: Arc<dyn PartitionAgentResolver>,
) -> Self
pub fn partition_resolver( self, resolver: Arc<dyn PartitionAgentResolver>, ) -> Self
Builds one agent per partition a definition declares with resolver, such as
adk-harness’s HarnessResolver: one harness per partition (spec 3.2 §7.8). Without
one, a definition’s partitions are recorded and its agent runs in the default
partition.
Sourcepub fn watermark_store(self, store: Arc<dyn CronWatermarkStore>) -> Self
pub fn watermark_store(self, store: Arc<dyn CronWatermarkStore>) -> Self
Sets where the tenant’s cron sources keep their watermarks, the tenant’s own (spec 3.2
§7.4, §7.13): on a durable store, a tick missed while no replica of the tenant ran
fires once each as the wake set’s missed policy picks it, when the next replica
starts. Defaults to in memory, which keeps nothing across a restart.
Sourcepub fn drivers(self, drivers: DriverSupervisor) -> Self
pub fn drivers(self, drivers: DriverSupervisor) -> Self
Mounts the drivers the tenant’s definitions ask for on drivers, the tenant’s own
supervisor over the tenant’s own driver store (spec 3.2 §7.7, §7.13). Each driver a
definition’s partition mounts is proposed in the tenant’s approval inbox and mounted
when a person approves it; its tools reach that partition’s harness only. Its drivers
run as the tenant’s app under <kernel home>/tenants/<tenant> unless the
supervisor’s builder set an app name or a home. Without one, a definition’s driver
manifests are recorded and none is mounted.
Sourcepub fn driver_approvers(self, approvers: ApprovalPolicy) -> Self
pub fn driver_approvers(self, approvers: ApprovalPolicy) -> Self
Who approves a driver mount: by default anyone in the operator group, as the
control plane’s operators are. Only a person’s approval mounts a driver.
Sourcepub fn signal_store(self, store: Arc<dyn SignalStore>) -> Self
pub fn signal_store(self, store: Arc<dyn SignalStore>) -> Self
Sets where the tenant’s signals are counted, the tenant’s own (spec 3.5 §7.10;
feature charter): TenantKernel::signal_sink files them, and a definition whose
wake set hears a signal is hosted only on a tenant with one. Defaults to none.
SignalStore runs on in-memory, SQLite, PostgreSQL and Redis; a tenant whose other
stores are on MongoDB, Firestore or Neo4j keeps its signals on one of those.
Sourcepub fn stores(self, stores: &KernelStores) -> Self
pub fn stores(self, stores: &KernelStores) -> Self
Takes the tenant’s stateful stores the builder has no other from stores, the
tenant’s own (spec 3.2 §7.1, §7.13): the process side table, schedules, spend and
action ledgers, agenda, partition table, cron watermarks, agent table and, with the
charter feature, the signal store; the kill
switch mirrored over governance unless governance is set or
the bundle keeps it in memory. A store set on the builder wins. The run store and the
approvals are the tenant’s ManagedStores’.
§Example
use std::sync::Arc;
use adk_kernel::managed::TenantKernel;
use adk_kernel::stores::KernelStores;
use adk_managed::ManagedStores;
use adk_session::InMemorySessionService;
let stores = KernelStores::in_memory();
let tenant = TenantKernel::builder("tenant-a", ManagedStores::in_memory(), Arc::new(InMemorySessionService::new()))
.stores(&stores)
.build()?;
assert!(Arc::ptr_eq(tenant.process_store(), &stores.processes));Sourcepub fn build(self) -> Result<TenantKernel>
pub fn build(self) -> Result<TenantKernel>
Builds the tenant’s kernel. Nothing runs until TenantKernel::start. Each store
neither set nor in the builder’s stores is kept in memory, with a
warning naming it.
§Errors
Returns KernelError::Config when the tenant is blank.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for TenantKernelBuilder
impl !UnwindSafe for TenantKernelBuilder
impl Forget for TenantKernelBuilder
impl Freeze for TenantKernelBuilderwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
*const ArcInner<dyn ManagedStateStore> is !null: Freeze,
PhantomData<ArcInner<dyn ManagedStateStore>>: Freeze,
*const ArcInner<dyn DurableRunStore> is !null: Freeze,
PhantomData<ArcInner<dyn DurableRunStore>>: Freeze,
*const ArcInner<dyn ApprovalStore> is !null: Freeze,
PhantomData<ArcInner<dyn ApprovalStore>>: Freeze,
*const ArcInner<dyn ApprovalService> is !null: Freeze,
PhantomData<ArcInner<dyn ApprovalService>>: Freeze,
*const ArcInner<dyn SessionService> is !null: Freeze,
PhantomData<ArcInner<dyn SessionService>>: Freeze,
PhantomData<QueueClass>: Freeze,
*const LeafNode<AgentId, SetValZST> is !null: Freeze,
PhantomData<(Owned, LeafOrInternal)>: Freeze,
PhantomData<Box<(AgentId, SetValZST)>>: Freeze,
*const ArcInner<ControlState> is !null: Freeze,
PhantomData<ArcInner<ControlState>>: Freeze,
*const ArcInner<dyn RequestContextExtractor> is !null: Freeze,
PhantomData<ArcInner<dyn RequestContextExtractor>>: Freeze,
*const ArcInner<Inner> is !null: Freeze,
PhantomData<ArcInner<Inner>>: Freeze,
*const ArcInner<dyn ControlStore> is !null: Freeze,
PhantomData<ArcInner<dyn ControlStore>>: Freeze,
*const ArcInner<dyn MemoryBook> is !null: Freeze,
PhantomData<ArcInner<dyn MemoryBook>>: Freeze,
*const ArcInner<dyn RecordBook> is !null: Freeze,
PhantomData<ArcInner<dyn RecordBook>>: Freeze,
*const ArcInner<dyn CommandHost> is !null: Freeze,
PhantomData<ArcInner<dyn CommandHost>>: Freeze,
*const LeafNode<PartitionId, PartitionMode> is !null: Freeze,
PhantomData<Box<(PartitionId, PartitionMode)>>: Freeze,
PhantomData<(PartitionMode, String)>: Freeze,
*const ArcInner<dyn Clock> is !null: Freeze,
PhantomData<ArcInner<dyn Clock>>: Freeze,
*const LeafNode<UsageUnit, u64> is !null: Freeze,
PhantomData<Box<(UsageUnit, u64)>>: Freeze,
*const ArcInner<dyn ProcessStore> is !null: Freeze,
PhantomData<ArcInner<dyn ProcessStore>>: Freeze,
*const ArcInner<dyn ScheduleStore> is !null: Freeze,
PhantomData<ArcInner<dyn ScheduleStore>>: Freeze,
*const ArcInner<dyn AgentResolver> is !null: Freeze,
PhantomData<ArcInner<dyn AgentResolver>>: Freeze,
*const ArcInner<dyn ActionLedger> is !null: Freeze,
PhantomData<ArcInner<dyn ActionLedger>>: Freeze,
*const ArcInner<dyn SpendLedger> is !null: Freeze,
PhantomData<ArcInner<dyn SpendLedger>>: Freeze,
*const ArcInner<dyn AuditRecorder> is !null: Freeze,
PhantomData<ArcInner<dyn AuditRecorder>>: Freeze,
*const ArcInner<dyn AgendaStore> is !null: Freeze,
PhantomData<ArcInner<dyn AgendaStore>>: Freeze,
*const ArcInner<RwLock<Weak<AgendaInner>>> is !null: Freeze,
PhantomData<ArcInner<RwLock<Weak<AgendaInner>>>>: Freeze,
*const LeafNode<PartitionId, Arc<dyn Consolidator>> is !null: Freeze,
PhantomData<Box<(PartitionId, Arc<dyn Consolidator>)>>: Freeze,
*const ArcInner<dyn PartitionStore> is !null: Freeze,
PhantomData<ArcInner<dyn PartitionStore>>: Freeze,
*const ArcInner<dyn PartitionAgentResolver> is !null: Freeze,
PhantomData<ArcInner<dyn PartitionAgentResolver>>: Freeze,
*const ArcInner<dyn CronWatermarkStore> is !null: Freeze,
PhantomData<ArcInner<dyn CronWatermarkStore>>: Freeze,
*const ArcInner<Inner> is !null: Freeze,
PhantomData<ArcInner<Inner>>: Freeze,
PhantomData<ApproverSelector>: Freeze,
PhantomData<EscalationStep>: Freeze,
*const ArcInner<dyn SignalStore> is !null: Freeze,
PhantomData<ArcInner<dyn SignalStore>>: Freeze,
*const ArcInner<dyn GovernanceStateStore> is !null: Freeze,
PhantomData<ArcInner<dyn GovernanceStateStore>>: Freeze,
*const ArcInner<dyn AgentStore> is !null: Freeze,
PhantomData<ArcInner<dyn AgentStore>>: Freeze,
*const ArcInner<dyn DeviceStore> is !null: Freeze,
PhantomData<ArcInner<dyn DeviceStore>>: Freeze,
*const ArcInner<dyn DriverStore> is !null: Freeze,
PhantomData<ArcInner<dyn DriverStore>>: Freeze,
*const ArcInner<dyn LedgerStore> is !null: Freeze,
PhantomData<ArcInner<dyn LedgerStore>>: Freeze,
*const ArcInner<dyn ChannelBindingStore> is !null: Freeze,
PhantomData<ArcInner<dyn ChannelBindingStore>>: Freeze,
*const ArcInner<dyn CharterStore> is !null: Freeze,
PhantomData<ArcInner<dyn CharterStore>>: Freeze,
*const ArcInner<dyn KpiStore> is !null: Freeze,
PhantomData<ArcInner<dyn KpiStore>>: Freeze,
*const ArcInner<dyn AutonomyStore> is !null: Freeze,
PhantomData<ArcInner<dyn AutonomyStore>>: Freeze,
*const LeafNode<&'static str, SetValZST> is !null: Freeze,
PhantomData<Box<(&'static str, SetValZST)>>: Freeze,
impl Move for TenantKernelBuilder
impl Send for TenantKernelBuilderwhere
RawVecInner: Send,
Arc<dyn ManagedStateStore>: Send,
Arc<dyn DurableRunStore>: Send,
Arc<dyn ApprovalStore>: Send,
Arc<dyn ApprovalService>: Send,
Arc<dyn SessionService>: Send,
NodeRef<Owned, AgentId, SetValZST, LeafOrInternal>: Send,
BoxRaw<(AgentId, SetValZST)>: Send,
Arc<ControlState>: Send,
Arc<dyn RequestContextExtractor>: Send,
Arc<Inner>: Send,
Arc<dyn ControlStore>: Send,
Arc<dyn MemoryBook>: Send,
Arc<dyn RecordBook>: Send,
Arc<dyn CommandHost>: Send,
NodeRef<Owned, PartitionId, PartitionMode, LeafOrInternal>: Send,
BoxRaw<(PartitionId, PartitionMode)>: Send,
Arc<dyn Clock>: Send,
NodeRef<Owned, UsageUnit, u64, LeafOrInternal>: Send,
BoxRaw<(UsageUnit, u64)>: Send,
Arc<dyn ProcessStore>: Send,
Arc<dyn ScheduleStore>: Send,
Arc<dyn AgentResolver>: Send,
Arc<dyn ActionLedger>: Send,
Arc<dyn SpendLedger>: Send,
Arc<dyn AuditRecorder>: Send,
Arc<dyn AgendaStore>: Send,
Arc<RwLock<Weak<AgendaInner>>>: Send,
NodeRef<Owned, PartitionId, Arc<dyn Consolidator>, LeafOrInternal>: Send,
BoxRaw<(PartitionId, Arc<dyn Consolidator>)>: Send,
Arc<dyn PartitionStore>: Send,
Arc<dyn PartitionAgentResolver>: Send,
Arc<dyn CronWatermarkStore>: Send,
Arc<Inner>: Send,
Arc<dyn SignalStore>: Send,
Arc<dyn GovernanceStateStore>: Send,
Arc<dyn AgentStore>: Send,
Arc<dyn DeviceStore>: Send,
Arc<dyn DriverStore>: Send,
Arc<dyn LedgerStore>: Send,
Arc<dyn ChannelBindingStore>: Send,
Arc<dyn CharterStore>: Send,
Arc<dyn KpiStore>: Send,
Arc<dyn AutonomyStore>: Send,
NodeRef<Owned, &'static str, SetValZST, LeafOrInternal>: Send,
BoxRaw<(&'static str, SetValZST)>: Send,
impl Sync for TenantKernelBuilderwhere
RawVecInner: Sync,
Arc<dyn ManagedStateStore>: Sync,
Arc<dyn DurableRunStore>: Sync,
Arc<dyn ApprovalStore>: Sync,
Arc<dyn ApprovalService>: Sync,
Arc<dyn SessionService>: Sync,
NodeRef<Owned, AgentId, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(AgentId, SetValZST)>: Sync,
Arc<ControlState>: Sync,
Arc<dyn RequestContextExtractor>: Sync,
Arc<Inner>: Sync,
Arc<dyn ControlStore>: Sync,
Arc<dyn MemoryBook>: Sync,
Arc<dyn RecordBook>: Sync,
Arc<dyn CommandHost>: Sync,
NodeRef<Owned, PartitionId, PartitionMode, LeafOrInternal>: Sync,
BoxRaw<(PartitionId, PartitionMode)>: Sync,
Arc<dyn Clock>: Sync,
NodeRef<Owned, UsageUnit, u64, LeafOrInternal>: Sync,
BoxRaw<(UsageUnit, u64)>: Sync,
Arc<dyn ProcessStore>: Sync,
Arc<dyn ScheduleStore>: Sync,
Arc<dyn AgentResolver>: Sync,
Arc<dyn ActionLedger>: Sync,
Arc<dyn SpendLedger>: Sync,
Arc<dyn AuditRecorder>: Sync,
Arc<dyn AgendaStore>: Sync,
Arc<RwLock<Weak<AgendaInner>>>: Sync,
NodeRef<Owned, PartitionId, Arc<dyn Consolidator>, LeafOrInternal>: Sync,
BoxRaw<(PartitionId, Arc<dyn Consolidator>)>: Sync,
Arc<dyn PartitionStore>: Sync,
Arc<dyn PartitionAgentResolver>: Sync,
Arc<dyn CronWatermarkStore>: Sync,
Arc<Inner>: Sync,
Arc<dyn SignalStore>: Sync,
Arc<dyn GovernanceStateStore>: Sync,
Arc<dyn AgentStore>: Sync,
Arc<dyn DeviceStore>: Sync,
Arc<dyn DriverStore>: Sync,
Arc<dyn LedgerStore>: Sync,
Arc<dyn ChannelBindingStore>: Sync,
Arc<dyn CharterStore>: Sync,
Arc<dyn KpiStore>: Sync,
Arc<dyn AutonomyStore>: Sync,
NodeRef<Owned, &'static str, SetValZST, LeafOrInternal>: Sync,
BoxRaw<(&'static str, SetValZST)>: Sync,
impl Unpin for TenantKernelBuilderwhere
*const u8 is !null: Unpin,
Arc<dyn ManagedStateStore>: Unpin,
Arc<dyn DurableRunStore>: Unpin,
Arc<dyn ApprovalStore>: Unpin,
Arc<dyn ApprovalService>: Unpin,
Arc<dyn SessionService>: Unpin,
*const LeafNode<AgentId, SetValZST> is !null: Unpin,
Box<(AgentId, SetValZST)>: Unpin,
Arc<ControlState>: Unpin,
Arc<dyn RequestContextExtractor>: Unpin,
Arc<Inner>: Unpin,
Arc<dyn ControlStore>: Unpin,
Arc<dyn MemoryBook>: Unpin,
Arc<dyn RecordBook>: Unpin,
Arc<dyn CommandHost>: Unpin,
*const LeafNode<PartitionId, PartitionMode> is !null: Unpin,
Box<(PartitionId, PartitionMode)>: Unpin,
Arc<dyn Clock>: Unpin,
*const LeafNode<UsageUnit, u64> is !null: Unpin,
Box<(UsageUnit, u64)>: Unpin,
Arc<dyn ProcessStore>: Unpin,
Arc<dyn ScheduleStore>: Unpin,
Arc<dyn AgentResolver>: Unpin,
Arc<dyn ActionLedger>: Unpin,
Arc<dyn SpendLedger>: Unpin,
Arc<dyn AuditRecorder>: Unpin,
Arc<dyn AgendaStore>: Unpin,
Arc<RwLock<Weak<AgendaInner>>>: Unpin,
*const LeafNode<PartitionId, Arc<dyn Consolidator>> is !null: Unpin,
Box<(PartitionId, Arc<dyn Consolidator>)>: Unpin,
Arc<dyn PartitionStore>: Unpin,
Arc<dyn PartitionAgentResolver>: Unpin,
Arc<dyn CronWatermarkStore>: Unpin,
Arc<Inner>: Unpin,
Arc<dyn SignalStore>: Unpin,
Arc<dyn GovernanceStateStore>: Unpin,
Arc<dyn AgentStore>: Unpin,
Arc<dyn DeviceStore>: Unpin,
Arc<dyn DriverStore>: Unpin,
Arc<dyn LedgerStore>: Unpin,
Arc<dyn ChannelBindingStore>: Unpin,
Arc<dyn CharterStore>: Unpin,
Arc<dyn KpiStore>: Unpin,
Arc<dyn AutonomyStore>: Unpin,
*const LeafNode<&'static str, SetValZST> is !null: Unpin,
Box<(&'static str, SetValZST)>: Unpin,
impl UnsafeUnpin for TenantKernelBuilderwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
*const ArcInner<dyn ManagedStateStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ManagedStateStore>>: UnsafeUnpin,
*const ArcInner<dyn DurableRunStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn DurableRunStore>>: UnsafeUnpin,
*const ArcInner<dyn ApprovalStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ApprovalStore>>: UnsafeUnpin,
*const ArcInner<dyn ApprovalService> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ApprovalService>>: UnsafeUnpin,
*const ArcInner<dyn SessionService> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn SessionService>>: UnsafeUnpin,
PhantomData<QueueClass>: UnsafeUnpin,
*const LeafNode<AgentId, SetValZST> is !null: UnsafeUnpin,
PhantomData<(Owned, LeafOrInternal)>: UnsafeUnpin,
PhantomData<Box<(AgentId, SetValZST)>>: UnsafeUnpin,
*const ArcInner<ControlState> is !null: UnsafeUnpin,
PhantomData<ArcInner<ControlState>>: UnsafeUnpin,
*const ArcInner<dyn RequestContextExtractor> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn RequestContextExtractor>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
*const ArcInner<dyn ControlStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ControlStore>>: UnsafeUnpin,
*const ArcInner<dyn MemoryBook> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn MemoryBook>>: UnsafeUnpin,
*const ArcInner<dyn RecordBook> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn RecordBook>>: UnsafeUnpin,
*const ArcInner<dyn CommandHost> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn CommandHost>>: UnsafeUnpin,
*const LeafNode<PartitionId, PartitionMode> is !null: UnsafeUnpin,
PhantomData<Box<(PartitionId, PartitionMode)>>: UnsafeUnpin,
PhantomData<(PartitionMode, String)>: UnsafeUnpin,
*const ArcInner<dyn Clock> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn Clock>>: UnsafeUnpin,
*const LeafNode<UsageUnit, u64> is !null: UnsafeUnpin,
PhantomData<Box<(UsageUnit, u64)>>: UnsafeUnpin,
*const ArcInner<dyn ProcessStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ProcessStore>>: UnsafeUnpin,
*const ArcInner<dyn ScheduleStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ScheduleStore>>: UnsafeUnpin,
*const ArcInner<dyn AgentResolver> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn AgentResolver>>: UnsafeUnpin,
*const ArcInner<dyn ActionLedger> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ActionLedger>>: UnsafeUnpin,
*const ArcInner<dyn SpendLedger> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn SpendLedger>>: UnsafeUnpin,
*const ArcInner<dyn AuditRecorder> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn AuditRecorder>>: UnsafeUnpin,
*const ArcInner<dyn AgendaStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn AgendaStore>>: UnsafeUnpin,
*const ArcInner<RwLock<Weak<AgendaInner>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<RwLock<Weak<AgendaInner>>>>: UnsafeUnpin,
*const LeafNode<PartitionId, Arc<dyn Consolidator>> is !null: UnsafeUnpin,
PhantomData<Box<(PartitionId, Arc<dyn Consolidator>)>>: UnsafeUnpin,
*const ArcInner<dyn PartitionStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn PartitionStore>>: UnsafeUnpin,
*const ArcInner<dyn PartitionAgentResolver> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn PartitionAgentResolver>>: UnsafeUnpin,
*const ArcInner<dyn CronWatermarkStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn CronWatermarkStore>>: UnsafeUnpin,
*const ArcInner<Inner> is !null: UnsafeUnpin,
PhantomData<ArcInner<Inner>>: UnsafeUnpin,
PhantomData<ApproverSelector>: UnsafeUnpin,
PhantomData<EscalationStep>: UnsafeUnpin,
*const ArcInner<dyn SignalStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn SignalStore>>: UnsafeUnpin,
*const ArcInner<dyn GovernanceStateStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn GovernanceStateStore>>: UnsafeUnpin,
*const ArcInner<dyn AgentStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn AgentStore>>: UnsafeUnpin,
*const ArcInner<dyn DeviceStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn DeviceStore>>: UnsafeUnpin,
*const ArcInner<dyn DriverStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn DriverStore>>: UnsafeUnpin,
*const ArcInner<dyn LedgerStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn LedgerStore>>: UnsafeUnpin,
*const ArcInner<dyn ChannelBindingStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn ChannelBindingStore>>: UnsafeUnpin,
*const ArcInner<dyn CharterStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn CharterStore>>: UnsafeUnpin,
*const ArcInner<dyn KpiStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn KpiStore>>: UnsafeUnpin,
*const ArcInner<dyn AutonomyStore> is !null: UnsafeUnpin,
PhantomData<ArcInner<dyn AutonomyStore>>: UnsafeUnpin,
*const LeafNode<&'static str, SetValZST> is !null: UnsafeUnpin,
PhantomData<Box<(&'static str, SetValZST)>>: 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> FmtForward for T
impl<T> FmtForward for T
Source§fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
fn fmt_binary(self) -> FmtBinary<Self>where
Self: Binary,
self to use its Binary implementation when Debug-formatted.Source§fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
fn fmt_display(self) -> FmtDisplay<Self>where
Self: Display,
self to use its Display implementation when
Debug-formatted.Source§fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
fn fmt_lower_exp(self) -> FmtLowerExp<Self>where
Self: LowerExp,
self to use its LowerExp implementation when
Debug-formatted.Source§fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
fn fmt_lower_hex(self) -> FmtLowerHex<Self>where
Self: LowerHex,
self to use its LowerHex implementation when
Debug-formatted.Source§fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
fn fmt_octal(self) -> FmtOctal<Self>where
Self: Octal,
self to use its Octal implementation when Debug-formatted.Source§fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
fn fmt_pointer(self) -> FmtPointer<Self>where
Self: Pointer,
self to use its Pointer implementation when
Debug-formatted.Source§fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
fn fmt_upper_exp(self) -> FmtUpperExp<Self>where
Self: UpperExp,
self to use its UpperExp implementation when
Debug-formatted.Source§fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
fn fmt_upper_hex(self) -> FmtUpperHex<Self>where
Self: UpperHex,
self to use its UpperHex implementation when
Debug-formatted.Source§impl<T> FutureExt for T
impl<T> FutureExt for T
Source§fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
fn with_context(self, otel_cx: Context) -> WithContext<Self> ⓘ
Source§fn with_current_context(self) -> WithContext<Self> ⓘ
fn with_current_context(self) -> WithContext<Self> ⓘ
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 moreSource§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::RequestSource§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
Source§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
Source§fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref<'a, R>(&'a self, func: impl FnOnce(&'a Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
fn pipe_ref_mut<'a, R>(&'a mut self, func: impl FnOnce(&'a mut Self) -> R) -> Rwhere
R: 'a,
self and passes that borrow into the pipe function. Read moreSource§fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
fn pipe_borrow<'a, B, R>(&'a self, func: impl FnOnce(&'a B) -> R) -> R
Source§fn pipe_borrow_mut<'a, B, R>(
&'a mut self,
func: impl FnOnce(&'a mut B) -> R,
) -> R
fn pipe_borrow_mut<'a, B, R>( &'a mut self, func: impl FnOnce(&'a mut B) -> R, ) -> R
Source§fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
fn pipe_as_ref<'a, U, R>(&'a self, func: impl FnOnce(&'a U) -> R) -> R
self, then passes self.as_ref() into the pipe function.Source§fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
fn pipe_as_mut<'a, U, R>(&'a mut self, func: impl FnOnce(&'a mut U) -> R) -> R
self, then passes self.as_mut() into the pipe
function.Source§fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
fn pipe_deref<'a, T, R>(&'a self, func: impl FnOnce(&'a T) -> R) -> R
self, then passes self.deref() into the pipe function.Source§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<T> Tap for T
impl<T> Tap for T
Source§fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow<B>(self, func: impl FnOnce(&B)) -> Self
Borrow<B> of a value. Read moreSource§fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut<B>(self, func: impl FnOnce(&mut B)) -> Self
BorrowMut<B> of a value. Read moreSource§fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref<R>(self, func: impl FnOnce(&R)) -> Self
AsRef<R> view of a value. Read moreSource§fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut<R>(self, func: impl FnOnce(&mut R)) -> Self
AsMut<R> view of a value. Read moreSource§fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref<T>(self, func: impl FnOnce(&T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
fn tap_deref_mut<T>(self, func: impl FnOnce(&mut T)) -> Self
Deref::Target of a value. Read moreSource§fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
fn tap_dbg(self, func: impl FnOnce(&Self)) -> Self
.tap() only in debug builds, and is erased in release builds.Source§fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
fn tap_mut_dbg(self, func: impl FnOnce(&mut Self)) -> Self
.tap_mut() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
fn tap_borrow_dbg<B>(self, func: impl FnOnce(&B)) -> Self
.tap_borrow() only in debug builds, and is erased in release
builds.Source§fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
fn tap_borrow_mut_dbg<B>(self, func: impl FnOnce(&mut B)) -> Self
.tap_borrow_mut() only in debug builds, and is erased in release
builds.Source§fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
fn tap_ref_dbg<R>(self, func: impl FnOnce(&R)) -> Self
.tap_ref() only in debug builds, and is erased in release
builds.Source§fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
fn tap_ref_mut_dbg<R>(self, func: impl FnOnce(&mut R)) -> Self
.tap_ref_mut() only in debug builds, and is erased in release
builds.Source§fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
fn tap_deref_dbg<T>(self, func: impl FnOnce(&T)) -> Self
.tap_deref() only in debug builds, and is erased in release
builds.