pub trait Event: Clone {
    fn new_timeout_reached(when: Instant) -> Self;
    fn get_timeout_reached(&self) -> Option<Instant>;
}
Expand description

Carries the incoming data to affect the actor state, plus an event to help schedule timed events.

Required Methods

Returns the value of the reached timeout, if this event carries the timeout.

Implementors