pub trait Call<C, Args>:
Clone
+ Send
+ Sync
+ 'static {
type Outcome: Outcome + 'static;
// Required method
fn call(
&self,
context: &mut C,
) -> impl Future<Output = Result<Self::Outcome>> + Send;
}Required Associated Types§
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".