pub trait UserFeedback:
Send
+ Sync
+ 'static {
// Required methods
fn show_toast(&self, options: ToastOptions) -> Result<(), PlatformError>;
fn hide_toast(&self) -> Result<(), PlatformError>;
fn show_modal(
&self,
options: ModalOptions,
callback_id: u64,
) -> Result<(), PlatformError>;
fn show_action_sheet(
&self,
options: Vec<String>,
cancel_text: String,
item_color: String,
callback_id: u64,
) -> Result<(), PlatformError>;
}