pub trait QueryHandler {
// Required methods
fn get_user<'life0, 'async_trait>(
&'life0 self,
id: DieselUlid,
checksum: String
) -> Pin<Box<dyn Future<Output = Result<User>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_pubkeys<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<Vec<APIPubkey>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_resource<'life0, 'life1, 'async_trait>(
&'life0 self,
res: &'life1 Resource,
checksum: String
) -> Pin<Box<dyn Future<Output = Result<Resource>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn full_sync<'life0, 'async_trait>(
&'life0 self
) -> Pin<Box<dyn Future<Output = Result<FullSyncData>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}