pub struct Stats { /* private fields */ }
Trait Implementations§
source§impl CommonStateManager for Stats
impl CommonStateManager for Stats
fn get_common_state(&self) -> &CommonState
fn get_common_state_mut(&mut self) -> &mut CommonState
fn get_notification_queue(&mut self) -> &mut VecDeque<Notification>
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 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<()>
source§impl Widget for Stats
impl Widget for Stats
fn render( &mut self, rect: Rect, frame: &mut Frame<'_, CrosstermBackend<Stderr>> )
fn process_notification( &mut self, notification: Notification ) -> AppResult<Option<Notification>>
fn handler(&mut self, _event: KeyEvent) -> AppResult<Option<Notification>>
fn process_task_response(&mut self, _response: TaskResponse) -> AppResult<()>
fn setup(&mut self) -> AppResult<()>
Auto Trait Implementations§
impl !RefUnwindSafe for Stats
impl !Send for Stats
impl !Sync for Stats
impl Unpin for Stats
impl !UnwindSafe for Stats
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more