Trait lemmy_api_crud::PerformCrud
source · pub trait PerformCrud {
type Response: Serialize + Send + Clone + Sync;
// Required method
fn perform<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 Data<LemmyContext>
) -> Pin<Box<dyn Future<Output = Result<Self::Response, LemmyError>> + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}