pub struct TickMsg {
pub id: u64,
pub timeout: bool,
/* private fields */
}Expand description
Message sent on every timer tick.
Fields§
§id: u64The timer ID.
timeout: boolWhether this tick indicates a timeout.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TickMsg
impl RefUnwindSafe for TickMsg
impl Send for TickMsg
impl Sync for TickMsg
impl Unpin for TickMsg
impl UnwindSafe for TickMsg
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