pub enum ShutdownCoordinatorEvent<E: UserEvent, P> {
Behavior(E),
Plan(InstallShutdownPlan<P>),
Requested(ShutdownRequested),
ChildStopped(ChildStopped<E::Addr>),
ChildRejected(ChildShutdownRejected),
}Expand description
Event sum accepted by ShutdownCoordinator.
Variants§
Behavior(E)
Plan(InstallShutdownPlan<P>)
Requested(ShutdownRequested)
ChildStopped(ChildStopped<E::Addr>)
ChildRejected(ChildShutdownRejected)
Trait Implementations§
Source§impl<E: UserEvent, P> ComposedEvent for ShutdownCoordinatorEvent<E, P>
impl<E: UserEvent, P> ComposedEvent for ShutdownCoordinatorEvent<E, P>
Source§impl<E: UserEvent, P> EventIngress<Here, InstallShutdownPlan<P>> for ShutdownCoordinatorEvent<E, P>
impl<E: UserEvent, P> EventIngress<Here, InstallShutdownPlan<P>> for ShutdownCoordinatorEvent<E, P>
Source§fn ingress(value: InstallShutdownPlan<P>) -> Self
fn ingress(value: InstallShutdownPlan<P>) -> Self
Construct the event selected for
Source and Input.Source§impl<E: UserEvent, P> InjectEvent<ChildShutdownRejected, Here> for ShutdownCoordinatorEvent<E, P>
impl<E: UserEvent, P> InjectEvent<ChildShutdownRejected, Here> for ShutdownCoordinatorEvent<E, P>
fn inject_at(value: ChildShutdownRejected) -> Self
Source§impl<E: UserEvent, P> InjectEvent<ChildStopped<<E as UserEvent>::Addr>, Here> for ShutdownCoordinatorEvent<E, P>
impl<E: UserEvent, P> InjectEvent<ChildStopped<<E as UserEvent>::Addr>, Here> for ShutdownCoordinatorEvent<E, P>
fn inject_at(value: ChildStopped<E::Addr>) -> Self
Source§impl<E, P, Input, Path> InjectEvent<Input, Inside<Path>> for ShutdownCoordinatorEvent<E, P>where
E: UserEvent + InjectEvent<Input, Path>,
impl<E, P, Input, Path> InjectEvent<Input, Inside<Path>> for ShutdownCoordinatorEvent<E, P>where
E: UserEvent + InjectEvent<Input, Path>,
Source§impl<E: UserEvent, P> InjectEvent<InstallShutdownPlan<P>, Here> for ShutdownCoordinatorEvent<E, P>
impl<E: UserEvent, P> InjectEvent<InstallShutdownPlan<P>, Here> for ShutdownCoordinatorEvent<E, P>
fn inject_at(value: InstallShutdownPlan<P>) -> Self
Source§impl<E: UserEvent, P> InjectEvent<ShutdownRequested, Here> for ShutdownCoordinatorEvent<E, P>
impl<E: UserEvent, P> InjectEvent<ShutdownRequested, Here> for ShutdownCoordinatorEvent<E, P>
fn inject_at(value: ShutdownRequested) -> Self
Source§impl<E: UserEvent, P> UserEvent for ShutdownCoordinatorEvent<E, P>
impl<E: UserEvent, P> UserEvent for ShutdownCoordinatorEvent<E, P>
Auto Trait Implementations§
impl<E, P> Freeze for ShutdownCoordinatorEvent<E, P>
impl<E, P> RefUnwindSafe for ShutdownCoordinatorEvent<E, P>
impl<E, P> Send for ShutdownCoordinatorEvent<E, P>
impl<E, P> Sync for ShutdownCoordinatorEvent<E, P>
impl<E, P> Unpin for ShutdownCoordinatorEvent<E, P>
impl<E, P> UnsafeUnpin for ShutdownCoordinatorEvent<E, P>
impl<E, P> UnwindSafe for ShutdownCoordinatorEvent<E, P>
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