pub trait SessionGraphService: Send + Sync {
// Provided methods
fn append_session_nodes<'life0, 'life1, 'async_trait>(
&'life0 self,
_session_id: &'life1 str,
_request: AppendSessionNodesRequest,
) -> Pin<Box<dyn Future<Output = Result<AppendSessionNodesResult, PluginError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait { ... }
fn emit_trace_event<'life0, 'async_trait>(
&'life0 self,
_context: TraceContext,
_event: TraceEvent,
) -> Pin<Box<dyn Future<Output = Result<(), PluginError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait { ... }
}Provided Methods§
fn append_session_nodes<'life0, 'life1, 'async_trait>(
&'life0 self,
_session_id: &'life1 str,
_request: AppendSessionNodesRequest,
) -> Pin<Box<dyn Future<Output = Result<AppendSessionNodesResult, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn emit_trace_event<'life0, 'async_trait>(
&'life0 self,
_context: TraceContext,
_event: TraceEvent,
) -> Pin<Box<dyn Future<Output = Result<(), PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".