pub enum TimedEvent<E> {
Inner(E),
Elapsed(TimerElapsed),
}Variants§
Inner(E)
Elapsed(TimerElapsed)
Trait Implementations§
Source§impl<E: ChildEvent> ChildEvent for TimedEvent<E>
impl<E: ChildEvent> ChildEvent for TimedEvent<E>
fn child_stopped(event: ChildStopped<E::Addr>) -> Option<Self>
Source§impl<E: Clone> Clone for TimedEvent<E>
impl<E: Clone> Clone for TimedEvent<E>
Source§fn clone(&self) -> TimedEvent<E>
fn clone(&self) -> TimedEvent<E>
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<E: CreationEvent> CreationEvent for TimedEvent<E>
impl<E: CreationEvent> CreationEvent for TimedEvent<E>
fn creation_resolved( event: CreationResolved<<E::Addr as Address>::Nonce>, ) -> Option<Self>
Source§impl<E: Debug> Debug for TimedEvent<E>
impl<E: Debug> Debug for TimedEvent<E>
Source§impl<E> EventInput<ChildStopped<<E as UserEvent>::Addr>> for TimedEvent<E>
impl<E> EventInput<ChildStopped<<E as UserEvent>::Addr>> for TimedEvent<E>
fn inject(event: ChildStopped<E::Addr>) -> Self
Source§impl<E> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for TimedEvent<E>
impl<E> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for TimedEvent<E>
Source§impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for TimedEvent<E>
impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for TimedEvent<E>
fn inject(event: PeerStopped<E::Addr>) -> Self
Source§impl<E> EventInput<ShutdownRequested> for TimedEvent<E>
impl<E> EventInput<ShutdownRequested> for TimedEvent<E>
fn inject(event: ShutdownRequested) -> 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<WorkerCreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for TimedEvent<E>
impl<E> EventInput<WorkerCreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for TimedEvent<E>
Source§impl<E> EventInput<WorkerStopped<<E as UserEvent>::Addr>> for TimedEvent<E>
impl<E> EventInput<WorkerStopped<<E as UserEvent>::Addr>> for TimedEvent<E>
fn inject(event: WorkerStopped<E::Addr>) -> Self
Source§impl<E: PartialEq> PartialEq for TimedEvent<E>
impl<E: PartialEq> PartialEq for TimedEvent<E>
Source§impl<E: PeerEvent> PeerEvent for TimedEvent<E>
impl<E: PeerEvent> PeerEvent for TimedEvent<E>
fn peer_stopped(event: PeerStopped<E::Addr>) -> Option<Self>
Source§impl<E: ShutdownEvent> ShutdownEvent for TimedEvent<E>
impl<E: ShutdownEvent> ShutdownEvent for TimedEvent<E>
fn shutdown_requested(event: ShutdownRequested) -> Option<Self>
Source§impl<E: UserEvent> TimeEvent for TimedEvent<E>
impl<E: UserEvent> TimeEvent for TimedEvent<E>
fn time_reached(event: TimerElapsed) -> Option<Self>
Source§impl<E: UserEvent> UserEvent for TimedEvent<E>
impl<E: UserEvent> UserEvent for TimedEvent<E>
Source§impl<E: WorkerCreationEvent> WorkerCreationEvent for TimedEvent<E>
impl<E: WorkerCreationEvent> WorkerCreationEvent for TimedEvent<E>
fn worker_creation_resolved( event: WorkerCreationResolved<<E::Addr as Address>::Nonce>, ) -> Option<Self>
Source§impl<E: WorkerEvent> WorkerEvent for TimedEvent<E>
impl<E: WorkerEvent> WorkerEvent for TimedEvent<E>
fn worker_stopped(event: WorkerStopped<E::Addr>) -> Option<Self>
impl<E: Eq> Eq for TimedEvent<E>
impl<E> StructuralPartialEq for TimedEvent<E>
Auto Trait Implementations§
impl<E> Freeze for TimedEvent<E>where
E: Freeze,
impl<E> RefUnwindSafe for TimedEvent<E>where
E: RefUnwindSafe,
impl<E> Send for TimedEvent<E>where
E: Send,
impl<E> Sync for TimedEvent<E>where
E: Sync,
impl<E> Unpin for TimedEvent<E>where
E: Unpin,
impl<E> UnsafeUnpin for TimedEvent<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for TimedEvent<E>where
E: UnwindSafe,
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