pub trait ControllerProxyInterface: Send + Sync {
    type AttachClientViewResponseFut: Future<Output = Result<u64, Error>> + Send;
    type RegisterViewTreeWatcherResponseFut: Future<Output = Result<(), Error>> + Send;
    type WatchViewPresentationResponseFut: Future<Output = Result<(), Error>> + Send;

    // Required methods
    fn attach_client_view(
        &self,
        payload: ControllerAttachClientViewRequest
    ) -> Self::AttachClientViewResponseFut;
    fn present_client_view(
        &self,
        payload: ControllerPresentClientViewRequest
    ) -> Result<(), Error>;
    fn register_view_tree_watcher(
        &self,
        watcher: ServerEnd<ViewTreeWatcherMarker>
    ) -> Self::RegisterViewTreeWatcherResponseFut;
    fn watch_view_presentation(&self) -> Self::WatchViewPresentationResponseFut;
}

Required Associated Types§

Required Methods§

Implementors§