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;
}