Trait DICOMServer
Source pub trait DICOMServer {
type State: DICOMServer;
// Required methods
fn get_qido_prefix(&self) -> &str;
fn get_wado_prefix(&self) -> &str;
fn search_studies<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Vec<InMemDicomObject>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn search_series<'life0, 'life1, 'async_trait>(
&'life0 self,
study_instance_uid: &'life1 str,
) -> Pin<Box<dyn Future<Output = Vec<InMemDicomObject>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn search_instances<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
study_instance_uid: &'life1 str,
series_instance_uid: &'life2 str,
) -> Pin<Box<dyn Future<Output = Vec<InMemDicomObject>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn retrieve_instance<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
study_instance_uid: &'life1 str,
series_instance_uid: &'life2 str,
sop_instance_uid: &'life3 str,
) -> Pin<Box<dyn Future<Output = Option<DefaultDicomObject>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait;
}