async_timer::state

Trait Callback

source
pub trait Callback { }
Expand description

Interface to timer’s callback

It is guaranteed that callback is invoked only once, unless Timer is restarted or TimerState::reset is called(happens when timer is restarted)

Implementations on Foreign Types§

source§

impl Callback for fn()

source§

impl Callback for Waker

source§

impl<'a> Callback for &'a Waker

Implementors§