Skip to main content

BeginShutdownPhases

Trait BeginShutdownPhases 

Source
pub trait BeginShutdownPhases: Behavior + Sized {
    type Output;

    // Required method
    fn begin_shutdown_phases(self) -> Self::Output;
}
Expand description

Generic consumer operation for entering the one inferred shutdown-phase builder.

This operation is the associated-output form of shutdown_after_children. It exists so framework code can carry the returned builder without naming its closed initial availability proof; it does not introduce another planner or phase representation.

Required Associated Types§

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<B> BeginShutdownPhases for B
where B: Behavior, <B::Birth as BirthMode>::Child: ChildOccurrenceProduct<AvailableChildren>,

Source§

type Output = ChildShutdownPhases<B, <<<B as Behavior>::Birth as BirthMode>::Child as ChildOccurrenceProduct<AvailableChildren>>::Product, NoPhases>