pub trait TurnContextResolver: Send + Sync {
// Required method
fn resolve_turn_context<'life0, 'async_trait>(
&'life0 self,
request: TurnContextRequest,
) -> Pin<Box<dyn Future<Output = Result<AssembledTurnContext>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}Expand description
Narrow host seam used by callers that cannot preassemble a context before invoking a reason atom. Implementations live outside the kernel.
Required Methods§
fn resolve_turn_context<'life0, 'async_trait>(
&'life0 self,
request: TurnContextRequest,
) -> Pin<Box<dyn Future<Output = Result<AssembledTurnContext>> + 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".