Struct script::dom::globalscope::TimerListener
source · struct TimerListener {
canceller: TaskCanceller,
task_source: TimerTaskSource,
context: Trusted<GlobalScope>,
}
Expand description
A wrapper between timer events coming in over IPC, and the event-loop.
Fields§
§canceller: TaskCanceller
§task_source: TimerTaskSource
§context: Trusted<GlobalScope>
Implementations§
source§impl TimerListener
impl TimerListener
sourcefn handle(&self, event: TimerEvent)
fn handle(&self, event: TimerEvent)
Handle a timer-event coming-in over IPC, by queuing the appropriate task on the relevant event-loop.
Auto Trait Implementations§
impl !RefUnwindSafe for TimerListener
impl Send for TimerListener
impl !Sync for TimerListener
impl Unpin for TimerListener
impl !UnwindSafe for TimerListener
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
source§impl<T> MaybeBoxed<Box<T, Global>> for T
impl<T> MaybeBoxed<Box<T, Global>> for T
source§fn maybe_boxed(self) -> Box<T, Global>
fn maybe_boxed(self) -> Box<T, Global>
Convert
source§impl<T> MaybeBoxed<T> for T
impl<T> MaybeBoxed<T> for T
source§fn maybe_boxed(self) -> T
fn maybe_boxed(self) -> T
Convert