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