pub trait ActivationPlan: Send {
type Ready: Send;
type Rejection: Send;
// Required method
fn activate(
self,
) -> impl Future<Output = Result<Self::Ready, Self::Rejection>> + Send;
}Expand description
Concrete work required before a newly created worker may serve commands.
Bombay interprets the owned plan after creation and initialization settle. Atomic aggregates never invoke application activation work in their pure transitions.
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.