pub struct TimeoutMsg {
pub id: u64,
}Expand description
Message sent once when the timer times out.
Fields§
§id: u64The timer ID.
Trait Implementations§
Source§impl Clone for TimeoutMsg
impl Clone for TimeoutMsg
Source§fn clone(&self) -> TimeoutMsg
fn clone(&self) -> TimeoutMsg
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 moreSource§impl Debug for TimeoutMsg
impl Debug for TimeoutMsg
impl Copy for TimeoutMsg
Auto Trait Implementations§
impl Freeze for TimeoutMsg
impl RefUnwindSafe for TimeoutMsg
impl Send for TimeoutMsg
impl Sync for TimeoutMsg
impl Unpin for TimeoutMsg
impl UnwindSafe for TimeoutMsg
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