pub trait UIUpdate:
Send
+ Sync
+ 'static {
// Required methods
fn update_navbar_ui(&self, appid: String) -> Result<(), PlatformError>;
fn update_tabbar_ui(&self, appid: String) -> Result<(), PlatformError>;
// Provided methods
fn update_tabbar_ui_async(
&self,
appid: String,
) -> impl Future<Output = Result<(), PlatformError>> + Send { ... }
fn update_orientation_ui(&self, _appid: String) -> Result<(), PlatformError> { ... }
}Required Methods§
fn update_tabbar_ui(&self, appid: String) -> Result<(), PlatformError>
Provided Methods§
fn update_tabbar_ui_async( &self, appid: String, ) -> impl Future<Output = Result<(), PlatformError>> + Send
fn update_orientation_ui(&self, _appid: String) -> Result<(), PlatformError>
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".