pub trait Procedure<Cx: TripleS + Clone, Output: Send + Sync + Serialize + Type, Arg: Send + Sync + DeserializeOwned + Type> {
// Required method
fn exec<'life0, 'async_trait>(
&'life0 self,
cx: Cx,
data: Arg,
) -> Pin<Box<dyn Future<Output = Output> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}
Expand description
A procedure.