Trait lemmy_api_crud::PerformCrud [−][src]
pub trait PerformCrud {
type Response: Serialize + Send;
fn perform<'life0, 'life1, 'async_trait>(
&'life0 self,
context: &'life1 Data<LemmyContext>,
websocket_id: Option<ConnectionId>
) -> Pin<Box<dyn Future<Output = Result<Self::Response, LemmyError>> + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}