pub enum BuildPhase {
Collect,
Finalize,
Validate,
Language,
LateInit,
}Expand description
A phase of the registry build: the one that failed, in a
RegistryBuildError. The module documentation describes what
each phase does.
Display writes the phase as the lowercase word used in the message of a
RegistryBuildError.
Variants§
Collect
The features take their final order, they register (the first registration round), and the service slots are assembled.
Finalize
The finalizers run (the second registration round).
Validate
The peer declarations are resolved, the checks over all the collected declarations run, and the aspect attachments are merged. An error found later, when the declarations are numbered after the late-initialization phase, is also reported under this phase.
Language
The language that documents are parsed with
(FlmRegistry::lang) is built from the element declarations.
LateInit
The late-initialization hooks run with the finished language.
Trait Implementations§
Source§impl Clone for BuildPhase
impl Clone for BuildPhase
impl Copy for BuildPhase
Source§impl Debug for BuildPhase
impl Debug for BuildPhase
Source§impl Display for BuildPhase
impl Display for BuildPhase
impl Eq for BuildPhase
Source§impl PartialEq for BuildPhase
impl PartialEq for BuildPhase
impl StructuralPartialEq for BuildPhase
Auto Trait Implementations§
impl Forget for BuildPhase
impl Freeze for BuildPhase
impl Move for BuildPhase
impl RefUnwindSafe for BuildPhase
impl Send for BuildPhase
impl Sync for BuildPhase
impl Unpin for BuildPhase
impl UnsafeUnpin for BuildPhase
impl UnwindSafe for BuildPhase
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CheckedAs for T
impl<T> CheckedAs for T
Source§fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
fn checked_as<Dst>(self) -> Option<Dst>where
T: CheckedCast<Dst>,
Source§impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
impl<Src, Dst> CheckedCastFrom<Src> for Dstwhere
Src: CheckedCast<Dst>,
Source§fn checked_cast_from(src: Src) -> Option<Dst>
fn checked_cast_from(src: Src) -> Option<Dst>
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more