pub struct CancelAllTimersMsg;Expand description
A message to cancel all active timers.
This message stops all currently running timers in the program. This is useful during cleanup or when transitioning between different application states.
§Examples
use bubbletea_rs::event::CancelAllTimersMsg;
// Cancel all timers
let cancel_all = CancelAllTimersMsg;§Use Cases
- Application shutdown
- State transitions that invalidate existing timers
- Error recovery scenarios
Trait Implementations§
Source§impl Clone for CancelAllTimersMsg
impl Clone for CancelAllTimersMsg
Source§fn clone(&self) -> CancelAllTimersMsg
fn clone(&self) -> CancelAllTimersMsg
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for CancelAllTimersMsg
impl RefUnwindSafe for CancelAllTimersMsg
impl Send for CancelAllTimersMsg
impl Sync for CancelAllTimersMsg
impl Unpin for CancelAllTimersMsg
impl UnwindSafe for CancelAllTimersMsg
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