Skip to main content

SqliteAgentMemoryStore

Struct SqliteAgentMemoryStore 

Source
pub struct SqliteAgentMemoryStore { /* private fields */ }
Expand description

Bundled SQLite store. Cheap to clone; connections are cached per realm and shared across clones.

Implementations§

Source§

impl SqliteAgentMemoryStore

Source

pub fn open(root: impl Into<PathBuf>) -> Result<Self, AgentMemoryError>

Source

pub fn path_for_realm(&self, realm: &str) -> PathBuf

Same directory + percent-encoding scheme as MarkdownAgentMemoryStore::path_for, one database per realm.

Source§

impl SqliteAgentMemoryStore

Source

pub async fn resolve_dream_audit_verdicts( &self, realm: &str, record_id: &str, resolution: &str, ) -> Result<usize, AgentMemoryError>

Resolve every open audit verdict for record_id (the operator acted: superseded/retired/dismissed via the review queue).

Deliberately NOT on StewardStore/MemoryPanelStore: no production caller exists yet (the operator review-queue mutation is a reserved seam); it joins the capability trait with its first consumer.

Trait Implementations§

Source§

impl AgentMemoryProvider for SqliteAgentMemoryStore

Source§

fn recall<'life0, 'async_trait>( &'life0 self, request: AgentMemoryRecallRequest, ) -> Pin<Box<dyn Future<Output = Result<Vec<AgentMemoryRecord>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Source§

fn supports_remember(&self) -> bool

Source§

fn remember<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, realm: &'life1 str, identity: &'life2 AgentIdentity, memory: NewAgentMemory, ) -> Pin<Box<dyn Future<Output = Result<AgentMemoryRecord, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

fn supports_forget(&self) -> bool

Source§

fn forget<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, realm: &'life1 str, identity: &'life2 AgentIdentity, memory_id: &'life3 str, ) -> Pin<Box<dyn Future<Output = Result<AgentMemoryForgetResult, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Source§

fn manifest<'life0, 'life1, 'async_trait>( &'life0 self, scopes: &'life1 [MemoryScope], tier: ManifestTier, ) -> Pin<Box<dyn Future<Output = Result<Vec<RecordMeta>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Metadata manifest over the composed scopes (§8.3). WorkingSet(k) is the union of the top-K ranked records and the recent/unranked slice; Full is every active record’s metadata.
Source§

fn supports_manifest(&self) -> bool

Source§

fn supersede<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, scope: &'life1 MemoryScope, prior: &'life2 str, record: NewMemoryRecord, ) -> Pin<Box<dyn Future<Output = Result<MemoryId, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Update-in-place with history (fixes D4): the new record supersedes prior within its lineage and inherits its working-set rank.
Source§

fn supports_supersede(&self) -> bool

Source§

fn mark_usage<'life0, 'life1, 'async_trait>( &'life0 self, ids: &'life1 [MemoryId], event: UsageEvent, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Mechanical usage-ledger updates (§9.2). Deliberately flag-less: it is an internal coordinator surface, not an advertised RPC capability.
Source§

fn log_injections<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, realm: &'life1 str, entries: &'life2 [InjectionLogEntry], ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Injection-ledger append (§9.2): which records entered whose context, through which surface, when. Internal coordinator telemetry — default no-op (not an error) so simple providers like the markdown store need no capability flag and the coordinator never has to care.
Source§

fn propose<'life0, 'life1, 'async_trait>( &'life0 self, scope: &'life1 MemoryScope, record: NewMemoryRecord, author: MemoryAuthor, ) -> Pin<Box<dyn Future<Output = Result<ProposalId, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Queue a record for steward-committed scopes (mob/operator — §7.2 write authority). author is the proposing principal — the Recorder proposes with real MemoryAuthor::Agent authorship (§8.2), the RPC path with Application.
Source§

fn supports_propose(&self) -> bool

Source§

fn remember_authored<'life0, 'life1, 'async_trait>( &'life0 self, scope: &'life1 MemoryScope, record: NewMemoryRecord, author: MemoryAuthor, ) -> Pin<Box<dyn Future<Output = Result<AuthoredWriteReceipt, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Agent-authored create in scope. Default-unsupported: the Recorder only registers against providers that implement this.
Source§

fn supersede_authored<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, scope: &'life1 MemoryScope, prior: &'life2 str, record: NewMemoryRecord, author: MemoryAuthor, ) -> Pin<Box<dyn Future<Output = Result<AuthoredWriteReceipt, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Agent-authored supersede within a single record’s lineage in the author’s own writable scope (§8.2). Cross-scope updates are a validator reject, not a policy the caller can waive.
Source§

fn forget_authored<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, scope: &'life1 MemoryScope, memory_id: &'life2 str, author: MemoryAuthor, ) -> Pin<Box<dyn Future<Output = Result<AgentMemoryForgetResult, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Agent-authored tombstone in the author’s own scope.
Source§

fn supports_authored_writes(&self) -> bool

Source§

fn as_taintable(&self) -> Option<Arc<dyn TaintableStore>>

§10.1 firewall control surface, when this provider supports gate/sink/resolver installation.
Source§

fn as_steward_store(&self) -> Option<Arc<dyn StewardStore>>

§8.5 steward dream read/write surface.
Source§

fn as_memory_panel_store(&self) -> Option<Arc<dyn MemoryPanelStore>>

§9.3 console Memory panel read API.
Source§

fn as_selected_record_fetch(&self) -> Option<Arc<dyn SelectedRecordFetch>>

§8.3 Selector body fetch for selector-chosen record ids.
Source§

fn as_tombstone_source(&self) -> Option<Arc<dyn TombstoneSource>>

§8.4 Distiller tombstone reads (recently tombstoned records per scope, for dedup against re-distillation).
Source§

impl Clone for SqliteAgentMemoryStore

Source§

fn clone(&self) -> SqliteAgentMemoryStore

Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl MemoryPanelStore for SqliteAgentMemoryStore

Source§

fn panel_realms<'life0, 'async_trait>( &'life0 self, ) -> Pin<Box<dyn Future<Output = Result<Vec<String>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Realms with store state (panel realm picker).
Source§

fn record_by_id<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, realm: &'life1 str, memory_id: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<Option<MemoryRecord>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

One record by id, any status.
Source§

fn records_page<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, realm: &'life1 str, scope_kind: Option<&'life2 str>, scope_key: Option<&'life3 str>, status_kind: Option<&'life4 str>, limit: usize, cursor: Option<(u64, String)>, ) -> Pin<Box<dyn Future<Output = Result<PanelRecordsPage, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,

Panel record listing: optional scope/status filters, newest-updated first, keyset cursor. Any status is visible here — the panel is an inspection surface and renders status explicitly.
Source§

fn supersede_chain<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, realm: &'life1 str, memory_id: &'life2 str, max_len: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryRecord>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Supersede lineage around one record, oldest first: ancestors via the supersedes pointer, the record itself, then committed successors via the Superseded { by } status link. When the tip has no committed successor, records claiming to supersede it (e.g. a quarantined supersede that left the prior active, §10.1) are appended without recursing — claims are visible but never extend the walk. Bounded by max_len, cycle-safe.
Source§

fn injection_log_for_record<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, realm: &'life1 str, record_id: &'life2 str, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<InjectionLogEntry>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Newest-first injection-ledger rows for one record (panel usage view).
Source§

fn dream_runs<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<PersistedDreamRun>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Persisted dream runs, newest first.
Source§

fn open_dream_audit_verdicts<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<DreamAuditVerdict>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Open (unresolved) audit verdicts, newest first — the operator review queue. One row per (run, record); the console dedups by record.
Source§

fn dream_history<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, max_runs: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<DreamRunAudit>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Dream-run summaries reconstructed from steward audit rows, newest run first. Bounded scan; runs older than the scan window fall off the panel, which is acceptable for a history summary surface.
Source§

impl SelectedRecordFetch for SqliteAgentMemoryStore

Body fetch for selector-chosen ids (§8.3): a plain by-id read over the composed scopes, wire-compat projected, returned in ids order. Only active records in the requested scopes qualify — the selector judged a manifest of exactly those.

Source§

fn fetch_records<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, scopes: &'life1 [MemoryScope], ids: &'life2 [String], ) -> Pin<Box<dyn Future<Output = Result<Vec<AgentMemoryRecord>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Source§

fn fetch_records_annotated<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, scopes: &'life1 [MemoryScope], ids: &'life2 [String], ) -> Pin<Box<dyn Future<Output = Result<Vec<AnnotatedRecord>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Bodies plus §7.2 provenance labels. The default delegates to Self::fetch_records with no provenance so existing stores keep compiling; stores that know each record’s scope and trust tier should override so injected bodies carry their labels.
Source§

impl StagedMemoryStore for SqliteAgentMemoryStore

Source§

fn stage<'life0, 'async_trait>( &'life0 self, batch: StagedMutationBatch, ) -> Pin<Box<dyn Future<Output = Result<StageToken, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Validate the batch against current store state and persist it, unapplied, under a token. Stale tokens are garbage-collected.
Source§

fn commit<'life0, 'async_trait>( &'life0 self, token: StageToken, ) -> Pin<Box<dyn Future<Output = Result<CommitReceipt, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Re-validate and apply the staged batch in a single transaction, writing one audit entry per op and burning the token.
Source§

impl StewardStore for SqliteAgentMemoryStore

Source§

fn scope_floors(&self) -> (usize, usize)

The per-scope retention floors this store warns against (§7.3); rendered into the dream’s orient overview as floor pressure.
Source§

fn scope_overview<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<ScopeOverview>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Per-scope counts and byte totals for a realm — the orient phase’s one cheap aggregate.
Source§

fn pending_proposals<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<PendingProposal>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Pending/held proposals, oldest first (§8.5 promotion queue).
Source§

fn set_proposal_status<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, realm: &'life1 str, proposal_id: &'life2 str, status: &'life3 str, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Record a dream verdict on a proposal: accepted, rejected, or held (held stays in the pending queue for the next dream).
Source§

fn quarantined_records<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryRecord>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Quarantined records, newest first — the dream’s review queue (§8.5). The steward is the one stage that reads these bodies wholesale; the caller renders them defanged.
Source§

fn records_by_ids<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, realm: &'life1 str, ids: &'life2 [String], ) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryRecord>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Records by id, any status — the gather phase’s bounded body fetch. Missing ids are skipped (the model may cite stale ids).
Source§

fn recent_records<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryRecord>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Most recently updated records in a realm, any scope, active or quarantined — the gather phase filters (e.g. recent distillates by author) host-side.
Source§

fn injection_log<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<InjectionLogEntry>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Newest-first injection-ledger rows for a realm (§9.2). Read surface for the steward’s usage audit and the console Memory panel.
Source§

fn record_pending_harvest<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>( &'life0 self, realm: &'life1 str, identity: &'life2 str, session_key: Option<&'life3 str>, cause: &'life4 str, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait, 'life4: 'async_trait,

Record a retired identity for the next dream’s exit-interview harvest (§8.5). Idempotent per (identity, retired_at_ms).
Source§

fn pending_harvests<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<PendingHarvest>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Pending exit-interview harvests, oldest first.
Source§

fn mark_harvest_complete<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, realm: &'life1 str, identity: &'life2 str, retired_at_ms: u64, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Mark one exit-interview harvest done.
Source§

fn record_pending_promotion<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, promotion: PendingPromotion, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Record a gated quarantine-promotion: gating pending_id → staged batch token (§10.2). Only a gating approval commits the token.
Source§

fn pending_promotion_by_id<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, realm: &'life1 str, pending_id: &'life2 str, ) -> Pin<Box<dyn Future<Output = Result<Option<PendingPromotion>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Look up a still-pending gated promotion by its gating pending id.
Source§

fn pending_promotions<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, ) -> Pin<Box<dyn Future<Output = Result<Vec<PendingPromotion>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

All still-pending gated promotions (dream-start reconciliation).
Source§

fn resolve_pending_promotion<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, realm: &'life1 str, pending_id: &'life2 str, status: &'life3 str, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Resolve a gated promotion: committed, denied, or expired.
Source§

fn rekey_pending_promotion<'life0, 'life1, 'life2, 'life3, 'async_trait>( &'life0 self, realm: &'life1 str, old_pending_id: &'life2 str, new_pending_id: &'life3 str, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait, 'life3: 'async_trait,

Re-key a gated promotion after a gating escalation minted a successor pending entry.
Source§

fn discard_stage<'life0, 'async_trait>( &'life0 self, token: StageToken, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait,

Discard a staged-but-uncommitted batch (denied/expired gated promotions; §8.5 crash semantics keep this safe — an unapplied stage row is never visible).
Source§

fn save_dream_run<'life0, 'life1, 'async_trait>( &'life0 self, realm: &'life1 str, run: PersistedDreamRun, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Persist one completed dream run (idempotent on run_id).
Source§

fn save_dream_audit_verdicts<'life0, 'life1, 'life2, 'async_trait>( &'life0 self, realm: &'life1 str, run_id: &'life2 str, verdicts: Vec<(String, String, String)>, ) -> Pin<Box<dyn Future<Output = Result<(), AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait, 'life2: 'async_trait,

Record the usage-audit verdicts of one dream run. Only non-clean verdicts belong here (the review queue); load-bearing records are counted in the run detail, not queued.
Source§

impl TaintableStore for SqliteAgentMemoryStore

§10.1 firewall control surface. The gate/resolver/sink slots are shared across clones (inner Arc<Mutex<..>>), so wiring once covers every handle.

Source§

fn set_llm_write_gate(&self, gate: Arc<dyn LlmWriteGate>)

Install the §10.1 LLM write gate. Wiring installs it at startup, before any member can dispatch a write.
Source§

fn set_llm_write_gate_if_absent(&self, gate: Arc<dyn LlmWriteGate>) -> bool

Install the §10.1 gate only when none is present. Returns whether this call installed the gate.
Source§

fn set_evidence_resolver(&self, resolver: Arc<dyn EvidenceRefResolver>)

Install the §10.2 evidence-ref resolver. The steward wiring installs it at startup; from then on every staged retier to agent_verified must cite evidence that resolves against the session store.
Source§

fn set_event_sink(&self, sink: Arc<dyn MemoryEventSink>)

Wire the §9.3 timeline sink for quarantined-write events.
Source§

fn set_event_sink_if_absent(&self, sink: Arc<dyn MemoryEventSink>) -> bool

Wire the §9.3 sink only when none is present. Returns whether this call installed the sink.
Source§

impl TombstoneSource for SqliteAgentMemoryStore

Source§

fn recent_tombstones<'life0, 'life1, 'async_trait>( &'life0 self, scope: &'life1 MemoryScope, since_ms: u64, limit: usize, ) -> Pin<Box<dyn Future<Output = Result<Vec<TombstoneMeta>, AgentMemoryError>> + Send + 'async_trait>>
where Self: 'async_trait, 'life0: 'async_trait, 'life1: 'async_trait,

Recent tombstones for the Distiller’s pre-injected “never re-create these” list (§8.4). The mechanical backstop for exact recreation is the staged validator’s content-hash check; this list closes the paraphrase gap at the prompt level.

Auto Trait Implementations§

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
where ST: ?Sized, DT: ?Sized,

Source§

impl<T> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. Read more
Source§

impl<T> CoreExecutorTurnFinalizationGuard for T
where T: Send,

Source§

impl<T> DynClone for T
where T: Clone,

Source§

fn __clone_box(&self, _: Private) -> *mut ()

Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T> FromRef<T> for T
where T: Clone,

Source§

fn from_ref(input: &T) -> T

Converts to this type from a reference to the input type.
Source§

impl<T> Instrument for T

Source§

fn instrument(self, span: Span) -> Instrumented<Self>

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more
Source§

fn in_current_span(self) -> Instrumented<Self>

Instruments this type with the current Span, returning an Instrumented wrapper. Read more
Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts 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 more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts 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
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T> PolicyExt for T
where T: ?Sized,

Source§

fn and<P, B, E>(self, other: P) -> And<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow only if self and other return Action::Follow. Read more
Source§

fn or<P, B, E>(self, other: P) -> Or<T, P>
where T: Sized + Policy<B, E>, P: Policy<B, E>,

Create a new Policy that returns Action::Follow if either self or other returns Action::Follow. Read more
Source§

impl<T> Read<Exclusive, BecauseExclusive> for T
where T: ?Sized,

Source§

impl<T> Same for T

Source§

type Output = T

Should always be Self
Source§

impl<T> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.
Source§

impl<V, T> VZip<V> for T
where V: MultiLane<T>,

Source§

fn vzip(self) -> V

Source§

impl<T> WithSubscriber for T

Source§

fn with_subscriber<S>(self, subscriber: S) -> WithDispatch<Self>
where S: Into<Dispatch>,

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more
Source§

fn with_current_subscriber(self) -> WithDispatch<Self>

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more