pub enum AtEvent<E> {
Inner(E),
Reached(TimeReached),
}Variants§
Inner(E)
Reached(TimeReached)
Trait Implementations§
Source§impl<E: ChildEvent<A>, A: Address> ChildEvent<A> for AtEvent<E>
impl<E: ChildEvent<A>, A: Address> ChildEvent<A> for AtEvent<E>
fn child_stopped(event: ChildStopped<A>) -> Option<Self>
impl<E: Eq> Eq for AtEvent<E>
Source§impl<E: PeerEvent<A>, A: Address> PeerEvent<A> for AtEvent<E>
impl<E: PeerEvent<A>, A: Address> PeerEvent<A> for AtEvent<E>
fn peer_stopped(event: PeerStopped<A>) -> Option<Self>
Source§impl<E: ShutdownEvent> ShutdownEvent for AtEvent<E>
impl<E: ShutdownEvent> ShutdownEvent for AtEvent<E>
fn shutdown_requested(event: ShutdownRequested) -> Option<Self>
impl<E: PartialEq> StructuralPartialEq for AtEvent<E>
Source§impl<E> TimeEvent for AtEvent<E>
impl<E> TimeEvent for AtEvent<E>
fn time_reached(event: TimeReached) -> Option<Self>
Source§impl<E: WorkerEvent<A>, A: Address> WorkerEvent<A> for AtEvent<E>
impl<E: WorkerEvent<A>, A: Address> WorkerEvent<A> for AtEvent<E>
fn worker_stopped(event: WorkerStopped<A>) -> Option<Self>
Auto Trait Implementations§
impl<E> Freeze for AtEvent<E>where
E: Freeze,
impl<E> RefUnwindSafe for AtEvent<E>where
E: RefUnwindSafe,
impl<E> Send for AtEvent<E>where
E: Send,
impl<E> Sync for AtEvent<E>where
E: Sync,
impl<E> Unpin for AtEvent<E>where
E: Unpin,
impl<E> UnsafeUnpin for AtEvent<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for AtEvent<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