pub trait ManagerProxyInterface: Send + Sync {
type SetRootViewResponseFut: Future<Output = Result<ManagerSetRootViewResult, Error>> + Send;
type PresentRootViewLegacyResponseFut: Future<Output = Result<ManagerPresentRootViewLegacyResult, Error>> + Send;
type PresentRootViewResponseFut: Future<Output = Result<ManagerPresentRootViewResult, Error>> + Send;
// Required methods
fn set_root_view(
&self,
view_provider: ClientEnd<ViewProviderMarker>,
) -> Self::SetRootViewResponseFut;
fn present_root_view_legacy(
&self,
view_holder_token: ViewHolderToken,
view_ref: ViewRef,
) -> Self::PresentRootViewLegacyResponseFut;
fn present_root_view(
&self,
viewport_creation_token: ViewportCreationToken,
) -> Self::PresentRootViewResponseFut;
}Required Associated Types§
type SetRootViewResponseFut: Future<Output = Result<ManagerSetRootViewResult, Error>> + Send
type PresentRootViewLegacyResponseFut: Future<Output = Result<ManagerPresentRootViewLegacyResult, Error>> + Send
type PresentRootViewResponseFut: Future<Output = Result<ManagerPresentRootViewResult, Error>> + Send
Required Methods§
fn set_root_view( &self, view_provider: ClientEnd<ViewProviderMarker>, ) -> Self::SetRootViewResponseFut
fn present_root_view_legacy( &self, view_holder_token: ViewHolderToken, view_ref: ViewRef, ) -> Self::PresentRootViewLegacyResponseFut
fn present_root_view( &self, viewport_creation_token: ViewportCreationToken, ) -> Self::PresentRootViewResponseFut
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".