pub trait PuppetProxyInterface: Send + Sync {
    type EmbedRemoteViewResponseFut: Future<Output = Result<PuppetEmbedRemoteViewResponse, Error>> + Send;
    type SetEmbeddedViewPropertiesResponseFut: Future<Output = Result<PuppetSetEmbeddedViewPropertiesResponse, Error>> + Send;
    type DrawImageResponseFut: Future<Output = Result<PuppetDrawImageResponse, Error>> + Send;
    type SetImagePropertiesResponseFut: Future<Output = Result<PuppetSetImagePropertiesResponse, Error>> + Send;

    // Required methods
    fn embed_remote_view(
        &self,
        payload: &PuppetEmbedRemoteViewRequest,
    ) -> Self::EmbedRemoteViewResponseFut;
    fn set_embedded_view_properties(
        &self,
        payload: &PuppetSetEmbeddedViewPropertiesRequest,
    ) -> Self::SetEmbeddedViewPropertiesResponseFut;
    fn draw_image(
        &self,
        payload: &PuppetDrawImageRequest,
    ) -> Self::DrawImageResponseFut;
    fn set_image_properties(
        &self,
        payload: &PuppetSetImagePropertiesRequest,
    ) -> Self::SetImagePropertiesResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§