pub struct SurrealDbProvider { /* private fields */ }Implementations§
Source§impl SurrealDbProvider
impl SurrealDbProvider
Sourcepub async fn from_existing_client(
db: Surreal<Any>,
backend: HostSurrealBackend,
) -> Result<Self>
pub async fn from_existing_client( db: Surreal<Any>, backend: HostSurrealBackend, ) -> Result<Self>
Reuse the host’s already selected namespace/database and engine handle. The caller owns its lifecycle; this never reconnects, changes its selection, or substitutes another storage engine for existing user data.
Source§impl SurrealDbProvider
impl SurrealDbProvider
Sourcepub async fn new(
connection_string: &str,
surreal_user: Option<&str>,
surreal_pass: Option<&str>,
surreal_ns: Option<&str>,
surreal_db: Option<&str>,
) -> Result<Self>
pub async fn new( connection_string: &str, surreal_user: Option<&str>, surreal_pass: Option<&str>, surreal_ns: Option<&str>, surreal_db: Option<&str>, ) -> Result<Self>
Connect to SurrealDB.
For server endpoints (ws://, wss://, http://, https://) the
caller may supply optional credentials. HTTP endpoints are normalized
to the equivalent WebSocket endpoint so remote storage retains live-query
support. When credentials are
absent the defaults root / root are used, which matches a
freshly-started SurrealDB server. For embedded endpoints (SurrealKV,
in-memory) authentication is not performed.
Sourcepub async fn new_with_auth(
connection_string: &str,
surreal_user: Option<&str>,
surreal_pass: Option<&str>,
surreal_auth_level: Option<&str>,
surreal_ns: Option<&str>,
surreal_db: Option<&str>,
) -> Result<Self>
pub async fn new_with_auth( connection_string: &str, surreal_user: Option<&str>, surreal_pass: Option<&str>, surreal_auth_level: Option<&str>, surreal_ns: Option<&str>, surreal_db: Option<&str>, ) -> Result<Self>
Connect using an explicit server-user authentication scope.
Sourcepub fn catalog_storage_backend(&self) -> &'static str
pub fn catalog_storage_backend(&self) -> &'static str
Backend of the successfully initialized connection, without its endpoint.
pub fn client(&self) -> Surreal<Any>
Sourcepub fn subscribe_transport_state(&self) -> Result<Receiver<TransportState>>
pub fn subscribe_transport_state(&self) -> Result<Receiver<TransportState>>
Observe retained transport loss for this provider’s current SDK client. A loss asks the lifecycle supervisor to decide whether to reconnect; it never certifies the outcome of an interrupted remote mutation.
Sourcepub fn endpoint(&self) -> &SurrealEndpoint
pub fn endpoint(&self) -> &SurrealEndpoint
The normalized endpoint selected for this provider.
Sourcepub fn ownership(&self) -> PersistenceOwnership
pub fn ownership(&self) -> PersistenceOwnership
The lifecycle authority for the database client.
pub fn is_owned(&self) -> bool
Sourcepub async fn close_scope(&self) -> PersistenceCloseReport
pub async fn close_scope(&self) -> PersistenceCloseReport
Release this provider’s scope after all registered UAR users have drained. Borrowed clients remain open for their host.
The pinned SDK patch supplies Surreal::shutdown, which closes admission
across all SDK clones and resolves only after local engine cleanup has
completed. Server composition owns the ordering of dependent workers.
Trait Implementations§
Source§impl Debug for SurrealDbProvider
impl Debug for SurrealDbProvider
Source§impl PersistenceLayer for SurrealDbProvider
impl PersistenceLayer for SurrealDbProvider
fn supports_durable_tool_receipts(&self) -> bool
fn supports_durable_client_tools(&self) -> bool
Source§fn create_client_tool_continuation<'life0, 'life1, 'async_trait>(
&'life0 self,
row: &'life1 ClientToolContinuation,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_client_tool_continuation<'life0, 'life1, 'async_trait>(
&'life0 self,
row: &'life1 ClientToolContinuation,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_client_tool_continuation<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
tenant: Option<&'life2 str>,
agent: &'life3 str,
batch: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ClientToolContinuation>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn load_client_tool_continuation_for_run<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
tenant: Option<&'life2 str>,
agent: &'life3 str,
run: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ClientToolContinuation>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Source§fn load_client_tool_continuation_for_session<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
tenant: Option<&'life2 str>,
session: &'life3 str,
batch: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ClientToolContinuation>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn load_client_tool_continuation_for_session<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
tenant: Option<&'life2 str>,
session: &'life3 str,
batch: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ClientToolContinuation>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Source§fn compare_and_swap_client_tool_continuation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 ClientToolContinuation,
after: &'life2 ClientToolContinuation,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn compare_and_swap_client_tool_continuation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 ClientToolContinuation,
after: &'life2 ClientToolContinuation,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn supports_durable_mcp_elicitations(&self) -> bool
fn create_mcp_elicitation<'life0, 'life1, 'async_trait>(
&'life0 self,
row: &'life1 McpElicitationRecord,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_mcp_elicitations<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
run: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<McpElicitationRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn compare_and_swap_mcp_elicitation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 McpElicitationRecord,
after: &'life2 McpElicitationRecord,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn supports_durable_a2ui_actions(&self) -> bool
Source§fn create_a2ui_action<'life0, 'life1, 'async_trait>(
&'life0 self,
row: &'life1 A2uiActionReceipt,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_a2ui_action<'life0, 'life1, 'async_trait>(
&'life0 self,
row: &'life1 A2uiActionReceipt,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_a2ui_action<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
agent: &'life2 str,
thread: &'life3 str,
interaction: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<Option<A2uiActionReceipt>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn supports_durable_agui_runs(&self) -> bool
fn create_agui_run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
row: &'life1 AguiRunBinding,
previous: Option<&'life2 AguiRunBinding>,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn load_agui_run<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
agent: &'life2 str,
thread: &'life3 str,
run: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<Option<AguiRunBinding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn list_agui_runs<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
agent: &'life2 str,
thread: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<AguiRunBinding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn compare_and_swap_agui_run<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 AguiRunBinding,
after: &'life2 AguiRunBinding,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn supports_durable_run_history(&self) -> bool
fn supports_durable_run_history(&self) -> bool
fn upsert_run_history_record<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 RunHistoryRecord,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn list_conversation_run_history<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
conversation: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<RunHistoryRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_conversation_run_history<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
conversation: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<RunHistoryRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn load_run_history_record<'life0, 'life1, 'async_trait>(
&'life0 self,
run_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<RunHistoryRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn append_run_history_event<'life0, 'life1, 'async_trait>(
&'life0 self,
event: &'life1 RunHistoryEvent,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_run_history_events<'life0, 'life1, 'async_trait>(
&'life0 self,
run_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<RunHistoryEvent>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn bind_accounting_delegation<'life0, 'life1, 'async_trait>(
&'life0 self,
link: &'life1 AccountingDelegation,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_accounting_delegation<'life0, 'life1, 'async_trait>(
&'life0 self,
digest: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<AccountingCall>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn reconcile_a2a_cancellation<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
user: &'life2 str,
agent: &'life3 str,
task: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<Option<A2aBinding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn reconcile_a2a_cancellation<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
user: &'life2 str,
agent: &'life3 str,
task: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<Option<A2aBinding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn supports_durable_a2a_bindings(&self) -> bool
fn create_a2a_binding<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 A2aBinding,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_a2a_binding<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
agent: &'life2 str,
task: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Option<A2aBinding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn compare_and_swap_a2a_binding<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 A2aBinding,
after: &'life2 A2aBinding,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_a2a_bindings<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
agent: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<A2aBinding>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn supports_durable_accounting(&self) -> bool
fn supports_durable_accounting(&self) -> bool
Source§fn durable_store_eligibility(&self) -> DurableStoreEligibility
fn durable_store_eligibility(&self) -> DurableStoreEligibility
fn admit_remote_grant<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
accounting_id: &'life2 str,
grant: &'life3 UarUsageGrant,
activity: RemoteGrantActivity,
) -> Pin<Box<dyn Future<Output = Result<RemoteGrantState>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn ensure_accounting_scope<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
id: &'life1 ScopeIdentity,
limits: &'life2 ScopeLimits,
) -> Pin<Box<dyn Future<Output = Result<AccountingScope>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_accounting_scope<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 ScopeIdentity,
) -> Pin<Box<dyn Future<Output = Result<Option<AccountingScope>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_accounting_scope<'life0, 'life1, 'async_trait>(
&'life0 self,
change: &'life1 ScopeUpdate,
) -> Pin<Box<dyn Future<Output = Result<AccountingScope>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn admit_accounting_call<'life0, 'life1, 'async_trait>(
&'life0 self,
admission: &'life1 CallAdmission,
) -> Pin<Box<dyn Future<Output = Result<AccountingCall>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn record_accounting_usage<'life0, 'life1, 'async_trait>(
&'life0 self,
usage: &'life1 CallUsage,
) -> Pin<Box<dyn Future<Output = Result<AccountingCall>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_accounting_calls<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
run: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<AccountingCall>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn supports_durable_ingestion(&self) -> bool
fn supports_durable_ingestion(&self) -> bool
fn accept_ingestion<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
document: &'life1 KnowledgeDocument,
source: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<IngestionJob>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn discover_ingestion<'life0, 'async_trait>(
&'life0 self,
limit: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<IngestionJob>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn next_ingestion_due_at<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<i64>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn next_ingestion_due_at<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Option<i64>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn get_ingestion_job<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
document: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<IngestionJob>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_ingestion_source<'life0, 'life1, 'async_trait>(
&'life0 self,
job: &'life1 IngestionJob,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn transition_ingestion<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 IngestionJob,
after: &'life2 IngestionJob,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn publish_ingestion<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
job: &'life1 IngestionJob,
publication: &'life2 IngestionPublication,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn publish_ingestion<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
job: &'life1 IngestionJob,
publication: &'life2 IngestionPublication,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn reconcile_ingestion<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn reconcile_ingestion<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn begin_knowledge_regeneration<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
kb: &'life2 str,
target: &'life3 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<KnowledgeRegeneration>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn begin_knowledge_regeneration<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
kb: &'life2 str,
target: &'life3 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<KnowledgeRegeneration>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn search_knowledge_scoped_in_space<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
&'life0 self,
owner: &'life1 str,
ids: &'life2 [&'life3 str],
query: &'life4 [f32],
limit: usize,
min_score: f32,
space: &'life5 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
fn search_knowledge_scoped_in_space<'life0, 'life1, 'life2, 'life3, 'life4, 'life5, 'async_trait>(
&'life0 self,
owner: &'life1 str,
ids: &'life2 [&'life3 str],
query: &'life4 [f32],
limit: usize,
min_score: f32,
space: &'life5 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
'life5: 'async_trait,
Source§fn supports_durable_approvals(&self) -> bool
fn supports_durable_approvals(&self) -> bool
fn create_approval_record<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 ApprovalRecord,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn transition_approval_record<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 ApprovalRecord,
after: &'life2 ApprovalRecord,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn transition_approval_record<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 ApprovalRecord,
after: &'life2 ApprovalRecord,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_approval_records<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
run: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<ApprovalRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn supports_channel_observers(&self) -> bool
fn supports_channel_observers(&self) -> bool
fn create_channel_subscription<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 ChannelSubscription,
) -> Pin<Box<dyn Future<Output = Result<ChannelSubscription>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_channel_subscription<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
workspace: &'life2 str,
id: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ChannelSubscription>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn list_channel_subscriptions<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
workspace: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<ChannelSubscription>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn compare_and_swap_channel_subscription<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 ChannelSubscription,
after: &'life2 ChannelSubscription,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_channel_inbox_entry<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 ChannelInboxEntry,
) -> Pin<Box<dyn Future<Output = Result<ChannelInboxEntry>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_channel_inbox_entry<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner: &'life1 str,
workspace: &'life2 str,
subscription: &'life3 str,
delivery: &'life4 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ChannelInboxEntry>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Source§fn list_channel_inbox_entries<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
workspace: &'life2 str,
subscription: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<ChannelInboxEntry>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn list_channel_inbox_entries<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
workspace: &'life2 str,
subscription: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<ChannelInboxEntry>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn compare_and_swap_channel_inbox_entry<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
before: &'life1 ChannelInboxEntry,
after: &'life2 ChannelInboxEntry,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn supports_durable_observers(&self) -> bool
fn supports_durable_observers(&self) -> bool
fn create_observer_subscription<'life0, 'life1, 'async_trait>(
&'life0 self,
subscription: &'life1 ObserverSubscription,
) -> Pin<Box<dyn Future<Output = Result<ObserverSubscription>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_observer_subscription<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
subscription_id: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ObserverSubscription>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn list_observer_subscriptions<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<ObserverSubscription>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn list_all_observer_subscriptions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<ObserverSubscription>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_all_observer_subscriptions<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<ObserverSubscription>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn compare_and_swap_observer_subscription<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
expected_revision: u64,
next: &'life3 ObserverSubscription,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn list_instance_occurrences<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
source_instance_id: &'life3 str,
after_sequence: Option<u64>,
limit: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<ObserverOccurrence>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn instance_occurrence_bounds<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
source_instance_id: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<ObserverOccurrenceBounds>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn supports_durable_agent_instances(&self) -> bool
fn supports_durable_agent_instances(&self) -> bool
Source§fn create_agent_instance<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 AgentInstanceRecord,
) -> Pin<Box<dyn Future<Output = Result<AgentInstanceRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_agent_instance<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 AgentInstanceRecord,
) -> Pin<Box<dyn Future<Output = Result<AgentInstanceRecord>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn load_agent_instance<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
instance_id: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Option<AgentInstanceRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn load_agent_instance<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
instance_id: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Option<AgentInstanceRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn list_agent_instances<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<AgentInstanceRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_agent_instances<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<AgentInstanceRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn compare_and_swap_agent_instance<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
expected_revision: u64,
expected_epoch: u64,
next: &'life3 AgentInstanceRecord,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn compare_and_swap_agent_instance<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
workspace_id: &'life2 str,
expected_revision: u64,
expected_epoch: u64,
next: &'life3 AgentInstanceRecord,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn create_presentation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
draft: &'life2 PresentationDraft,
) -> Pin<Box<dyn Future<Output = Result<Presentation>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_presentation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
draft: &'life2 PresentationDraft,
) -> Pin<Box<dyn Future<Output = Result<Presentation>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn get_presentation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Presentation>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_presentation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Presentation>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn list_presentations<'life0, 'life1, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<Presentation>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_presentations<'life0, 'life1, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<Presentation>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn update_presentation<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
expected_revision: u64,
draft: &'life3 PresentationDraft,
) -> Pin<Box<dyn Future<Output = Result<Presentation>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn update_presentation<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
expected_revision: u64,
draft: &'life3 PresentationDraft,
) -> Pin<Box<dyn Future<Output = Result<Presentation>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn delete_presentation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
expected_revision: u64,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_presentation<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
expected_revision: u64,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn create_agent_root<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
thread: &'life2 AgentThread,
) -> Pin<Box<dyn Future<Output = Result<PersistedAgentThread>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_agent_root<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
thread: &'life2 AgentThread,
) -> Pin<Box<dyn Future<Output = Result<PersistedAgentThread>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn create_agent_child<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
thread: &'life2 AgentThread,
edge: &'life3 AgentEdge,
) -> Pin<Box<dyn Future<Output = Result<PersistedAgentThread>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn create_agent_child<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
thread: &'life2 AgentThread,
edge: &'life3 AgentEdge,
) -> Pin<Box<dyn Future<Output = Result<PersistedAgentThread>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn load_agent_thread<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
thread_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<PersistedAgentThread>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn load_agent_thread<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
thread_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<PersistedAgentThread>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn update_agent_thread<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
expected_revision: u64,
thread: &'life2 AgentThread,
) -> Pin<Box<dyn Future<Output = Result<PersistedAgentThread>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn update_agent_thread<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
expected_revision: u64,
thread: &'life2 AgentThread,
) -> Pin<Box<dyn Future<Output = Result<PersistedAgentThread>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn list_agent_threads<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
root_run_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<PersistedAgentThread>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_agent_threads<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
root_run_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<PersistedAgentThread>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn list_agent_edges<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
root_run_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<AgentEdge>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_agent_edges<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
root_run_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<AgentEdge>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn save_canonical_tool_receipt<'life0, 'life1, 'async_trait>(
&'life0 self,
receipt: &'life1 CanonicalToolReceipt,
) -> Pin<Box<dyn Future<Output = Result<CanonicalToolReceipt>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_canonical_tool_receipt<'life0, 'life1, 'async_trait>(
&'life0 self,
receipt: &'life1 CanonicalToolReceipt,
) -> Pin<Box<dyn Future<Output = Result<CanonicalToolReceipt>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn list_canonical_tool_receipts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
run_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<CanonicalToolReceipt>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_canonical_tool_receipts<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
run_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<CanonicalToolReceipt>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn save_tool_admission_evidence<'life0, 'life1, 'async_trait>(
&'life0 self,
evidence: &'life1 ToolAdmissionEvidence,
) -> Pin<Box<dyn Future<Output = Result<ToolAdmissionEvidence>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_tool_admission_evidence<'life0, 'life1, 'async_trait>(
&'life0 self,
evidence: &'life1 ToolAdmissionEvidence,
) -> Pin<Box<dyn Future<Output = Result<ToolAdmissionEvidence>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn list_tool_admission_evidence<'life0, 'life1, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<ToolAdmissionEvidence>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_tool_admission_evidence<'life0, 'life1, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<ToolAdmissionEvidence>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn subscribe_persisted_session_changes(&self) -> Option<Receiver<u64>>
fn subscribe_persisted_session_changes(&self) -> Option<Receiver<u64>>
None means this provider has no durable signal.Source§fn next_persisted_session_expiry<'life0, 'async_trait>(
&'life0 self,
idle_timeout: Duration,
) -> Pin<Box<dyn Future<Output = Result<Option<DateTime<Utc>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn next_persisted_session_expiry<'life0, 'async_trait>(
&'life0 self,
idle_timeout: Duration,
) -> Pin<Box<dyn Future<Output = Result<Option<DateTime<Utc>>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn save_session<'life0, 'life1, 'async_trait>(
&'life0 self,
session: &'life1 Session,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_session<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Session>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn list_sessions<'life0, 'life1, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<Session>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_sessions<'life0, 'life1, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<Session>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
owner_id. Read moreSource§fn delete_session<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_session<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn list_expired_sessions<'life0, 'async_trait>(
&'life0 self,
cutoff: DateTime<Utc>,
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, String)>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_expired_sessions<'life0, 'async_trait>(
&'life0 self,
cutoff: DateTime<Utc>,
) -> Pin<Box<dyn Future<Output = Result<Vec<(String, String)>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn save_conversation_policy<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 ConversationPolicyRecord,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_conversation_policy<'life0, 'life1, 'async_trait>(
&'life0 self,
record: &'life1 ConversationPolicyRecord,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn load_conversation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
conversation_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversationPolicyRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn load_conversation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
conversation_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversationPolicyRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn delete_conversation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
conversation_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_conversation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
conversation_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn save_principal_conversation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
record: &'life1 ConversationPolicyRecord,
expected: Option<&'life2 RunPolicy>,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn save_principal_conversation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
record: &'life1 ConversationPolicyRecord,
expected: Option<&'life2 RunPolicy>,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn load_principal_conversation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
conversation_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversationPolicyRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn load_principal_conversation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
conversation_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<ConversationPolicyRecord>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn save_user_prompt_caching_settings<'life0, 'life1, 'async_trait>(
&'life0 self,
settings: &'life1 UserPromptCachingSettings,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_user_prompt_caching_settings<'life0, 'life1, 'async_trait>(
&'life0 self,
settings: &'life1 UserPromptCachingSettings,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn load_user_prompt_caching_settings<'life0, 'life1, 'async_trait>(
&'life0 self,
principal_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<UserPromptCachingSettings>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_user_prompt_caching_settings<'life0, 'life1, 'async_trait>(
&'life0 self,
principal_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<UserPromptCachingSettings>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_skill<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
skill: &'life1 Skill,
embedding: &'life2 [f32],
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn create_skill_if_absent<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
skill: &'life1 Skill,
embedding: &'life2 [f32],
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn create_skill_if_absent<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
skill: &'life1 Skill,
embedding: &'life2 [f32],
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn update_skill_selection<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
skill_id: &'life1 str,
enabled: bool,
scoped_config: &'life2 [ScopedSkillConfig],
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn update_skill_selection<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
skill_id: &'life1 str,
enabled: bool,
scoped_config: &'life2 [ScopedSkillConfig],
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn search_skills<'life0, 'life1, 'async_trait>(
&'life0 self,
query_vec: &'life1 [f32],
limit: usize,
) -> Pin<Box<dyn Future<Output = Result<Vec<SkillMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn list_skills<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Skill>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_skills<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<Skill>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn delete_skill<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_skill<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn save_knowledge_base<'life0, 'life1, 'async_trait>(
&'life0 self,
kb: &'life1 KnowledgeBase,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_knowledge_base<'life0, 'life1, 'async_trait>(
&'life0 self,
kb: &'life1 KnowledgeBase,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
anonymous at the explicit anonymous boundary.
Authenticated rows live in storage disjoint from all legacy subjects.Source§fn save_chunk<'life0, 'life1, 'async_trait>(
&'life0 self,
chunk: &'life1 KnowledgeChunk,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_chunk<'life0, 'life1, 'async_trait>(
&'life0 self,
chunk: &'life1 KnowledgeChunk,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn search_knowledge<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
query_vec: &'life2 [f32],
limit: usize,
min_score: f32,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn search_knowledge<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
query_vec: &'life2 [f32],
limit: usize,
min_score: f32,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn save_agent<'life0, 'life1, 'async_trait>(
&'life0 self,
agent: &'life1 AgentArtifact,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_agent<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<AgentArtifact>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn save_agent_if_unchanged<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
expected: &'life1 AgentArtifact,
updated: &'life2 AgentArtifact,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn save_agent_if_unchanged<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
expected: &'life1 AgentArtifact,
updated: &'life2 AgentArtifact,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn load_agent_by_name<'life0, 'life1, 'async_trait>(
&'life0 self,
name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<AgentArtifact>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_agents<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<AgentArtifact>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn delete_agent<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_agent<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_memory<'life0, 'life1, 'async_trait>(
&'life0 self,
_memory: &'life1 Memory,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn search_memory<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
_agent_id: Option<&'life1 str>,
_query_vec: &'life2 [f32],
_limit: usize,
_min_score: f32,
) -> Pin<Box<dyn Future<Output = Result<Vec<MemoryMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn get_knowledge_base<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<KnowledgeBase>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_knowledge_base<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<KnowledgeBase>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn get_knowledge_base_by_name<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
name: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<KnowledgeBase>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_knowledge_base_by_name<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
name: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<KnowledgeBase>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn list_knowledge_bases<'life0, 'life1, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeBase>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_knowledge_bases<'life0, 'life1, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeBase>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn delete_knowledge_base<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_knowledge_base<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn search_knowledge_scoped<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
kb_ids: &'life2 [&'life3 str],
query_vec: &'life4 [f32],
limit: usize,
min_score: f32,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
fn search_knowledge_scoped<'life0, 'life1, 'life2, 'life3, 'life4, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
kb_ids: &'life2 [&'life3 str],
query_vec: &'life4 [f32],
limit: usize,
min_score: f32,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
'life4: 'async_trait,
Source§fn save_document<'life0, 'life1, 'async_trait>(
&'life0 self,
doc: &'life1 KnowledgeDocument,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_document<'life0, 'life1, 'async_trait>(
&'life0 self,
doc: &'life1 KnowledgeDocument,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn get_document<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<KnowledgeDocument>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_document<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Option<KnowledgeDocument>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn list_documents<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
kb_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeDocument>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_documents<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
kb_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<KnowledgeDocument>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn count_documents<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
kb_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn count_documents<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
kb_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<usize>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
list_documents;
providers should override with a backend-native COUNT query for efficiency.Source§fn update_document_status<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
doc_id: &'life2 str,
status: &'life3 DocumentStatus,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn update_document_status<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
doc_id: &'life2 str,
status: &'life3 DocumentStatus,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn delete_document<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
doc_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn delete_document<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner_id: &'life1 str,
doc_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn upsert_settings_type<'life0, 'life1, 'async_trait>(
&'life0 self,
st: &'life1 SettingsType,
) -> Pin<Box<dyn Future<Output = Result<Uuid>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn upsert_settings_type<'life0, 'life1, 'async_trait>(
&'life0 self,
st: &'life1 SettingsType,
) -> Pin<Box<dyn Future<Output = Result<Uuid>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
id stored in the database: on a first insert this
matches st.id, but on a conflict-update the original row’s id is kept,
so callers must use the returned value when constructing FK references.Source§fn list_settings_types<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<SettingsType>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_settings_types<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<SettingsType>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Source§fn get_settings_type<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<SettingsType>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_settings_type<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<SettingsType>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn upsert_setting<'life0, 'life1, 'async_trait>(
&'life0 self,
setting: &'life1 Settings,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn upsert_setting<'life0, 'life1, 'async_trait>(
&'life0 self,
setting: &'life1 Settings,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn get_setting<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Settings>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_setting<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Settings>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn compare_and_swap_global_presentation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
expected: &'life1 Value,
selection: &'life2 ResourceSelection,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn compare_and_swap_global_presentation_policy<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
expected: &'life1 Value,
selection: &'life2 ResourceSelection,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn list_settings<'life0, 'life1, 'async_trait>(
&'life0 self,
type_key: Option<&'life1 str>,
parent_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Settings>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_settings<'life0, 'life1, 'async_trait>(
&'life0 self,
type_key: Option<&'life1 str>,
parent_id: Option<Uuid>,
) -> Pin<Box<dyn Future<Output = Result<Vec<Settings>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn delete_setting<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn delete_setting<'life0, 'life1, 'async_trait>(
&'life0 self,
key: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn insert_attachment<'life0, 'life1, 'async_trait>(
&'life0 self,
meta: &'life1 AttachmentMeta,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn insert_attachment<'life0, 'life1, 'async_trait>(
&'life0 self,
meta: &'life1 AttachmentMeta,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn get_attachment<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<AttachmentMeta>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn get_attachment<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<AttachmentMeta>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn list_attachments_for_session<'life0, 'life1, 'async_trait>(
&'life0 self,
session_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<AttachmentMeta>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_attachments_for_session<'life0, 'life1, 'async_trait>(
&'life0 self,
session_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<AttachmentMeta>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn register_supervisor_domain<'life0, 'life1, 'async_trait>(
&'life0 self,
registration: &'life1 SupervisorRegistration,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn register_supervisor_domain<'life0, 'life1, 'async_trait>(
&'life0 self,
registration: &'life1 SupervisorRegistration,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_supervisor_domain<'life0, 'life1, 'async_trait>(
&'life0 self,
epoch: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<SupervisorRegistration>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn create_supervisor_challenge<'life0, 'life1, 'async_trait>(
&'life0 self,
challenge: &'life1 SupervisorChallenge,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_supervisor_challenge<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<SupervisorChallenge>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn commit_supervisor_checkpoint_exclusion<'life0, 'life1, 'async_trait>(
&'life0 self,
proof: &'life1 VerifiedSupervisorExclusion,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn supports_durable_checkpoint_resume(&self) -> bool
fn supports_durable_checkpoint_resume(&self) -> bool
Source§fn save_resumable_checkpoint<'life0, 'life1, 'async_trait>(
&'life0 self,
envelope: &'life1 CheckpointResumeEnvelope,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_resumable_checkpoint<'life0, 'life1, 'async_trait>(
&'life0 self,
envelope: &'life1 CheckpointResumeEnvelope,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn load_checkpoint_resume<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
run: &'life2 str,
checkpoint: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Option<CheckpointResumeEnvelope>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn load_checkpoint_resume<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
owner: &'life1 str,
run: &'life2 str,
checkpoint: &'life3 str,
) -> Pin<Box<dyn Future<Output = Result<Option<CheckpointResumeEnvelope>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn list_checkpoint_resumes<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
run: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<CheckpointResumeEnvelope>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_checkpoint_resumes<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
owner: &'life1 str,
run: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<CheckpointResumeEnvelope>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn claim_checkpoint_resume<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
envelope: &'life1 CheckpointResumeEnvelope,
claim: &'life2 CheckpointContinuationClaim,
) -> Pin<Box<dyn Future<Output = Result<CheckpointClaimOutcome>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn claim_checkpoint_resume<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
envelope: &'life1 CheckpointResumeEnvelope,
claim: &'life2 CheckpointContinuationClaim,
) -> Pin<Box<dyn Future<Output = Result<CheckpointClaimOutcome>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Source§fn exclude_checkpoint_runtime_epoch<'life0, 'life1, 'async_trait>(
&'life0 self,
epoch: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn exclude_checkpoint_runtime_epoch<'life0, 'life1, 'async_trait>(
&'life0 self,
epoch: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn save_checkpoint<'life0, 'life1, 'async_trait>(
&'life0 self,
checkpoint: &'life1 Checkpoint,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn save_checkpoint<'life0, 'life1, 'async_trait>(
&'life0 self,
checkpoint: &'life1 Checkpoint,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn load_checkpoint<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Checkpoint>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn load_checkpoint<'life0, 'life1, 'async_trait>(
&'life0 self,
id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Checkpoint>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn list_checkpoints<'life0, 'life1, 'async_trait>(
&'life0 self,
run_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<Checkpoint>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn list_checkpoints<'life0, 'life1, 'async_trait>(
&'life0 self,
run_id: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<Checkpoint>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Source§fn record_cost_entry<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: &'life1 str,
scope_id: &'life2 str,
cost_usd: f64,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn record_cost_entry<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: &'life1 str,
scope_id: &'life2 str,
cost_usd: f64,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
CostBudgetTracker
(src/uar/runtime/cost_budget.rs) is intentionally in-memory-only for
the hot path; this is the durable roll-up layer its own doc comment
anticipated subscribing to. Default no-op so this remains additive for
any future PersistenceLayer implementer that doesn’t need history.Source§fn list_cost_history<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: &'life1 str,
scope_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<CostEntry>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn list_cost_history<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
scope: &'life1 str,
scope_id: &'life2 str,
) -> Pin<Box<dyn Future<Output = Result<Vec<CostEntry>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
(scope, scope_id), ordered by
recorded_at ascending.Source§fn capability_matrix(&self) -> Value
fn capability_matrix(&self) -> Value
supports_*
method name. Hosts serve this so clients can see what a store refuses
before they ask it to do the work.Source§fn save_skill_in_space<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
skill: &'life1 Skill,
embedding: &'life2 [f32],
_space: &'life3 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn save_skill_in_space<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
skill: &'life1 Skill,
embedding: &'life2 [f32],
_space: &'life3 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<()>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Source§fn create_skill_if_absent_in_space<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
skill: &'life1 Skill,
embedding: &'life2 [f32],
_space: &'life3 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn create_skill_if_absent_in_space<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
skill: &'life1 Skill,
embedding: &'life2 [f32],
_space: &'life3 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Self::create_skill_if_absent recording the vector’s embedding space.Source§fn search_skills_in_space<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
query_vec: &'life1 [f32],
limit: usize,
_space: &'life2 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<Vec<SkillMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn search_skills_in_space<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
query_vec: &'life1 [f32],
limit: usize,
_space: &'life2 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<Vec<SkillMatch>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
space. Rows embedded in another space
are never compared. The default ignores the space.Source§fn skill_ids_outside_space<'life0, 'life1, 'async_trait>(
&'life0 self,
_space: &'life1 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn skill_ids_outside_space<'life0, 'life1, 'async_trait>(
&'life0 self,
_space: &'life1 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<Vec<String>>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
space
(another space, or one never recorded) and so need re-embedding.
Providers that do not fence embedding spaces report none.Source§fn set_skill_embedding<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_skill_id: &'life1 str,
_embedding: &'life2 [f32],
_space: &'life3 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn set_skill_embedding<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
_skill_id: &'life1 str,
_embedding: &'life2 [f32],
_space: &'life3 EmbeddingFingerprint,
) -> Pin<Box<dyn Future<Output = Result<bool>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
Auto Trait Implementations§
impl !Freeze for SurrealDbProvider
impl !RefUnwindSafe for SurrealDbProvider
impl !UnwindSafe for SurrealDbProvider
impl Send for SurrealDbProvider
impl Sync for SurrealDbProvider
impl Unpin for SurrealDbProvider
impl UnsafeUnpin for SurrealDbProvider
Blanket Implementations§
§impl<T> ArchivePointee for T
impl<T> ArchivePointee for T
§type ArchivedMetadata = ()
type ArchivedMetadata = ()
§fn pointer_metadata(
_: &<T as ArchivePointee>::ArchivedMetadata,
) -> <T as Pointee>::Metadata
fn pointer_metadata( _: &<T as ArchivePointee>::ArchivedMetadata, ) -> <T as Pointee>::Metadata
impl<T> AsyncFriendly for T
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
§impl<T> Conv for T
impl<T> Conv for T
impl<T> ErasedDestructor for Twhere
T: 'static,
§impl<T> FmtForward for T
impl<T> FmtForward for T
§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.§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.§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.§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.§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.§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.§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.§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.§fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
fn fmt_list(self) -> FmtList<Self>where
&'a Self: for<'a> IntoIterator,
§impl<T> FutureExt for T
impl<T> FutureExt for T
§fn with_context(self, otel_cx: Context) -> WithContext<Self>
fn with_context(self, otel_cx: Context) -> WithContext<Self>
§fn with_current_context(self) -> WithContext<Self>
fn with_current_context(self) -> WithContext<Self>
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§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§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
T in a tonic::Request§impl<L> LayerExt<L> for L
impl<L> LayerExt<L> for L
§fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
fn named_layer<S>(&self, service: S) -> Layered<<L as Layer<S>>::Service, S>where
L: Layer<S>,
Layered].§impl<T> LayoutRaw for T
impl<T> LayoutRaw for T
§fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
fn layout_raw(_: <T as Pointee>::Metadata) -> Result<Layout, LayoutError>
impl<T> MaybeSend for Twhere
T: Send,
impl<T> MaybeSend for Twhere
T: Send,
§impl<T> Message for T
impl<T> Message for T
§fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
fn from_boxed(m: BoxedMessage) -> Result<Self, BoxedDowncastErr>
§fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
fn box_message(self, pid: &ActorId) -> Result<BoxedMessage, BoxedDowncastErr>
§impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
impl<T, N1, N2> Niching<NichedOption<T, N1>> for N2where
T: SharedNiching<N1, N2>,
N1: Niching<T>,
N2: Niching<T>,
§impl<T> Pipe for Twhere
T: ?Sized,
impl<T> Pipe for Twhere
T: ?Sized,
§fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
fn pipe<R>(self, func: impl FnOnce(Self) -> R) -> Rwhere
Self: Sized,
§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 more§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 more§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
§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
§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.§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.§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.§impl<T> Pointable for T
impl<T> Pointable for T
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T> Pointee for T
impl<T> Pointee for T
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
§impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> PolicyExt for Twhere
T: ?Sized,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
§impl<F, T, S> SimdInto<T, S> for Fwhere
T: SimdFrom<F, S>,
S: Simd,
impl<F, T, S> SimdInto<T, S> for Fwhere
T: SimdFrom<F, S>,
S: Simd,
impl<T> State for T
§impl<T> Tap for T
impl<T> Tap for T
§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 more§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 more§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 more§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 more§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 more§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 more§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.§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.§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.§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.§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.§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.§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.