pub enum ProxyEvent<E: UserEvent> {
Inner(E),
ChildStopped(ChildStopped<E::Addr>),
CreationResolved(CreationResolved<<E::Addr as Address>::Nonce>),
}Variants§
Inner(E)
ChildStopped(ChildStopped<E::Addr>)
CreationResolved(CreationResolved<<E::Addr as Address>::Nonce>)
Trait Implementations§
Source§impl<E: UserEvent> ChildEvent for ProxyEvent<E>
impl<E: UserEvent> ChildEvent for ProxyEvent<E>
fn child_stopped(event: ChildStopped<E::Addr>) -> Option<Self>
Source§impl<E: Clone + UserEvent> Clone for ProxyEvent<E>
impl<E: Clone + UserEvent> Clone for ProxyEvent<E>
Source§fn clone(&self) -> ProxyEvent<E>
fn clone(&self) -> ProxyEvent<E>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<E: UserEvent> CreationEvent for ProxyEvent<E>
impl<E: UserEvent> CreationEvent for ProxyEvent<E>
fn creation_resolved( event: CreationResolved<<E::Addr as Address>::Nonce>, ) -> Option<Self>
impl<E: Eq + UserEvent> Eq for ProxyEvent<E>
Source§impl<E: UserEvent> EventInput<ChildStopped<<E as UserEvent>::Addr>> for ProxyEvent<E>
impl<E: UserEvent> EventInput<ChildStopped<<E as UserEvent>::Addr>> for ProxyEvent<E>
fn inject(event: ChildStopped<E::Addr>) -> Self
Source§impl<E: UserEvent> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for ProxyEvent<E>
impl<E: UserEvent> EventInput<CreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for ProxyEvent<E>
Source§impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for ProxyEvent<E>
impl<E> EventInput<PeerStopped<<E as UserEvent>::Addr>> for ProxyEvent<E>
fn inject(event: PeerStopped<E::Addr>) -> Self
Source§impl<E> EventInput<ShutdownRequested> for ProxyEvent<E>
impl<E> EventInput<ShutdownRequested> for ProxyEvent<E>
fn inject(event: ShutdownRequested) -> Self
Source§impl<E> EventInput<TimerElapsed> for ProxyEvent<E>
impl<E> EventInput<TimerElapsed> for ProxyEvent<E>
fn inject(event: TimerElapsed) -> Self
Source§impl<E> EventInput<WorkerCreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for ProxyEvent<E>
impl<E> EventInput<WorkerCreationResolved<<<E as UserEvent>::Addr as Address>::Nonce>> for ProxyEvent<E>
Source§impl<E> EventInput<WorkerStopped<<E as UserEvent>::Addr>> for ProxyEvent<E>
impl<E> EventInput<WorkerStopped<<E as UserEvent>::Addr>> for ProxyEvent<E>
fn inject(event: WorkerStopped<E::Addr>) -> Self
Source§impl<E: PeerEvent> PeerEvent for ProxyEvent<E>
impl<E: PeerEvent> PeerEvent for ProxyEvent<E>
fn peer_stopped(event: PeerStopped<E::Addr>) -> Option<Self>
Source§impl<E: ShutdownEvent> ShutdownEvent for ProxyEvent<E>
impl<E: ShutdownEvent> ShutdownEvent for ProxyEvent<E>
fn shutdown_requested(event: ShutdownRequested) -> Option<Self>
impl<E: PartialEq + UserEvent> StructuralPartialEq for ProxyEvent<E>
Source§impl<E: TimeEvent> TimeEvent for ProxyEvent<E>
impl<E: TimeEvent> TimeEvent for ProxyEvent<E>
fn time_reached(event: TimerElapsed) -> Option<Self>
Source§impl<E: UserEvent> UserEvent for ProxyEvent<E>
impl<E: UserEvent> UserEvent for ProxyEvent<E>
Source§impl<E: WorkerCreationEvent> WorkerCreationEvent for ProxyEvent<E>
impl<E: WorkerCreationEvent> WorkerCreationEvent for ProxyEvent<E>
fn worker_creation_resolved( event: WorkerCreationResolved<<E::Addr as Address>::Nonce>, ) -> Option<Self>
Source§impl<E: WorkerEvent> WorkerEvent for ProxyEvent<E>
impl<E: WorkerEvent> WorkerEvent for ProxyEvent<E>
fn worker_stopped(event: WorkerStopped<E::Addr>) -> Option<Self>
Auto Trait Implementations§
impl<E> Freeze for ProxyEvent<E>
impl<E> RefUnwindSafe for ProxyEvent<E>where
E: RefUnwindSafe,
<<E as UserEvent>::Addr as Address>::Nonce: RefUnwindSafe,
<E as UserEvent>::Addr: RefUnwindSafe,
impl<E> Send for ProxyEvent<E>
impl<E> Sync for ProxyEvent<E>
impl<E> Unpin for ProxyEvent<E>
impl<E> UnsafeUnpin for ProxyEvent<E>where
E: UnsafeUnpin,
<<E as UserEvent>::Addr as Address>::Nonce: UnsafeUnpin,
<E as UserEvent>::Addr: UnsafeUnpin,
impl<E> UnwindSafe for ProxyEvent<E>where
E: UnwindSafe,
<<E as UserEvent>::Addr as Address>::Nonce: UnwindSafe,
<E as UserEvent>::Addr: 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