pub trait AsyncEngineContextProvider: Send + Debug {
// Required method
fn context(&self) -> Arc<dyn AsyncEngineContext> ⓘ;
}Expand description
Provides access to the AsyncEngineContext associated with an engine operation.
This trait is implemented by both unary and streaming engine results, allowing uniform access to context information regardless of the operation type.
Required Methods§
fn context(&self) -> Arc<dyn AsyncEngineContext> ⓘ
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".