pub struct PeriodicTask { }
Expand description
Serialized worker timer. First callback follows one interval. No catch-up
bursts. Owns its callback; stop/drop waits for an in-flight callback.
Self-teardown is safe and prevents further callbacks. Panics are contained.
Idempotently stop and join; never call from an audio callback.
Executes the destructor for this type.
Read more
Execute the destructor for this type, but different to
Drop::drop, it requires
self
to be pinned.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Calls U::from(self).
That is, this conversion is whatever the implementation of
From<T> for U chooses to do.
The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.