fidl_fuchsia_ui_composition

Trait ScreenshotProxyInterface

Source
pub trait ScreenshotProxyInterface: Send + Sync {
    type TakeResponseFut: Future<Output = Result<ScreenshotTakeResponse, Error>> + Send;
    type TakeFileResponseFut: Future<Output = Result<ScreenshotTakeFileResponse, Error>> + Send;

    // Required methods
    fn take(&self, payload: ScreenshotTakeRequest) -> Self::TakeResponseFut;
    fn take_file(
        &self,
        payload: ScreenshotTakeFileRequest,
    ) -> Self::TakeFileResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§