pub trait PhaseMarker: Sealed {
const PHASE: LifecyclePhase;
}Expand description
Phase markers for TypedContext. Each marker type implements
PhaseMarker with a const LifecyclePhase discriminant; the
PhasedContext view inspects this at runtime to gate phase-only APIs.
Required Associated Constants§
const PHASE: LifecyclePhase
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.