DataProviderProxyInterface

Trait DataProviderProxyInterface 

Source
pub trait DataProviderProxyInterface: Send + Sync {
    type GetSnapshotResponseFut: Future<Output = Result<Snapshot, Error>> + Send;
    type GetAnnotationsResponseFut: Future<Output = Result<Annotations, Error>> + Send;

    // Required methods
    fn get_snapshot(
        &self,
        params: GetSnapshotParameters,
    ) -> Self::GetSnapshotResponseFut;
    fn get_annotations(
        &self,
        params: &GetAnnotationsParameters,
    ) -> Self::GetAnnotationsResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§