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 method
fn update_orientation_ui(&self, _appid: String) -> Result<(), PlatformError> { ... }
}Required Methods§
fn update_tabbar_ui(&self, appid: String) -> Result<(), PlatformError>
Provided Methods§
fn update_orientation_ui(&self, _appid: String) -> Result<(), PlatformError>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".