fidl_fuchsia_feedback

Trait DataProviderProxyInterface

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

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

Required Associated Types§

Required Methods§

Implementors§