pub trait Command {
type Result: Serialize + Display;
// Required method
fn execute<'life0, 'life1, 'async_trait, P>(
&'life0 self,
provider: &'life1 P,
) -> Pin<Box<dyn Future<Output = Result<Self::Result, Error>> + Send + 'async_trait>>
where P: 'async_trait + DiagnosticsProvider,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}
Required Associated Types§
Required Methods§
fn execute<'life0, 'life1, 'async_trait, P>(
&'life0 self,
provider: &'life1 P,
) -> Pin<Box<dyn Future<Output = Result<Self::Result, Error>> + Send + 'async_trait>>where
P: 'async_trait + DiagnosticsProvider,
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Object Safety§
This trait is not object safe.