pub struct TimerWakeup {
pub id: u64,
pub deadline_ms: u64,
}Expand description
A single expired timer reported by a TimerProvider.
id echoes the machine-owned JavaScript identifier passed to
TimerProvider::schedule; deadline_ms is the provider’s monotonic
absolute-millisecond deadline used as the promotion watermark.
Fields§
§id: u64§deadline_ms: u64Trait Implementations§
Source§impl Clone for TimerWakeup
impl Clone for TimerWakeup
Source§fn clone(&self) -> TimerWakeup
fn clone(&self) -> TimerWakeup
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TimerWakeup
Source§impl Debug for TimerWakeup
impl Debug for TimerWakeup
impl Eq for TimerWakeup
Source§impl PartialEq for TimerWakeup
impl PartialEq for TimerWakeup
impl StructuralPartialEq for TimerWakeup
Auto Trait Implementations§
impl Freeze for TimerWakeup
impl RefUnwindSafe for TimerWakeup
impl Send for TimerWakeup
impl Sync for TimerWakeup
impl Unpin for TimerWakeup
impl UnsafeUnpin for TimerWakeup
impl UnwindSafe for TimerWakeup
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