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_project<'life0, 'async_trait>(
&'life0 self,
id: DieselUlid,
checksum: String
) -> Pin<Box<dyn Future<Output = Result<Project>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_collection<'life0, 'async_trait>(
&'life0 self,
id: DieselUlid,
checksum: String
) -> Pin<Box<dyn Future<Output = Result<Collection>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_dataset<'life0, 'async_trait>(
&'life0 self,
id: DieselUlid,
checksum: String
) -> Pin<Box<dyn Future<Output = Result<Dataset>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_object<'life0, 'async_trait>(
&'life0 self,
id: DieselUlid,
checksum: String
) -> Pin<Box<dyn Future<Output = Result<Object>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}