pub trait CommonStateManager: Debug {
Show 17 methods // Required methods fn get_notification_queue(&mut self) -> &mut VecDeque<Notification>; fn get_common_state_mut(&mut self) -> &mut CommonState; fn get_common_state(&self) -> &CommonState; // Provided methods fn get_help_text_notif(&self) -> AppResult<Option<Notification>> { ... } fn can_handle_key_set(&self) -> IndexSet<&KeyCode> { ... } fn set_active(&mut self) -> AppResult<Option<Notification>> { ... } fn is_active(&self) -> bool { ... } fn parent_can_handle_events(&self) -> bool { ... } fn get_help_texts(&self) -> &IndexSet<HelpText> { ... } fn get_help_texts_mut(&mut self) -> &mut IndexSet<HelpText> { ... } fn is_navigable(&self) -> bool { ... } fn set_inactive(&mut self) { ... } fn get_widget_name(&self) -> WidgetName { ... } fn get_task_sender(&self) -> &ChannelRequestSender { ... } fn show_spinner(&mut self) -> AppResult<()> { ... } fn hide_spinner(&mut self) -> AppResult<()> { ... } fn spinner_notif(&mut self, show: bool) -> AppResult<()> { ... }
}

Required Methods§

source

fn get_notification_queue(&mut self) -> &mut VecDeque<Notification>

source

fn get_common_state_mut(&mut self) -> &mut CommonState

source

fn get_common_state(&self) -> &CommonState

Provided Methods§

Implementors§