pub struct DelayedEvent<M: Message + Clone> { /* private fields */ }
Expand description
Allow to send message to destination address periodically after some delay
Only one scheduled heartbeat allowed at a time
Dropping this handle cancels scheduled heartbeat
Address used to send messages to destination address
Schedule heartbeat. Cancels already scheduled heartbeat if there is such heartbeat
Executes the destructor for this type.
Read more
Immutably borrows from an owned value.
Read more
Mutably borrows from an owned value.
Read more
Returns the argument unchanged.
Instruments this type with the provided
Span
, returning an
Instrumented
wrapper.
Read more
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.