pub struct TimerElapsed {
pub id: TimerId,
pub generation: TimerGeneration,
}Fields§
§id: TimerId§generation: TimerGenerationImplementations§
Source§impl TimerElapsed
impl TimerElapsed
pub const fn new(id: TimerId, generation: TimerGeneration) -> Self
Trait Implementations§
Source§impl Clone for TimerElapsed
impl Clone for TimerElapsed
Source§fn clone(&self) -> TimerElapsed
fn clone(&self) -> TimerElapsed
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TimerElapsed
impl Debug for TimerElapsed
Source§impl<E> EventInput<TimerElapsed> for ProxyEvent<E>
impl<E> EventInput<TimerElapsed> for ProxyEvent<E>
fn inject(event: TimerElapsed) -> Self
Source§impl<E> EventInput<TimerElapsed> for ShutdownProtocol<E>
impl<E> EventInput<TimerElapsed> for ShutdownProtocol<E>
fn inject(event: TimerElapsed) -> Self
Source§impl<E> EventInput<TimerElapsed> for SupervisionEvent<E>
impl<E> EventInput<TimerElapsed> for SupervisionEvent<E>
fn inject(event: TimerElapsed) -> Self
Source§impl<E: UserEvent> EventInput<TimerElapsed> for TimedEvent<E>
impl<E: UserEvent> EventInput<TimerElapsed> for TimedEvent<E>
fn inject(event: TimerElapsed) -> Self
Source§impl<E> EventInput<TimerElapsed> for WatchEvent<E>
impl<E> EventInput<TimerElapsed> for WatchEvent<E>
fn inject(event: TimerElapsed) -> Self
Source§impl From<(TimerId, TimerGeneration)> for TimerElapsed
impl From<(TimerId, TimerGeneration)> for TimerElapsed
Source§fn from((id, generation): (TimerId, TimerGeneration)) -> Self
fn from((id, generation): (TimerId, TimerGeneration)) -> Self
Converts to this type from the input type.
Source§impl PartialEq for TimerElapsed
impl PartialEq for TimerElapsed
impl Copy for TimerElapsed
impl Eq for TimerElapsed
impl StructuralPartialEq for TimerElapsed
Auto Trait Implementations§
impl Freeze for TimerElapsed
impl RefUnwindSafe for TimerElapsed
impl Send for TimerElapsed
impl Sync for TimerElapsed
impl Unpin for TimerElapsed
impl UnsafeUnpin for TimerElapsed
impl UnwindSafe for TimerElapsed
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more