pub enum PluginLifecyclePhase {
Prepare,
Construct,
Activate,
Ready,
Deactivate,
}Expand description
The lifecycle phase represented by a Plugin context.
Variants§
Prepare
The Plugin may validate configuration and reserve reversible resources.
Construct
Adapter lowering constructs the complete inert Plugin object.
Activate
The Plugin may initialize against already prepared dependencies.
Ready
The App Ready Gate has opened and externally triggered work may begin.
Deactivate
The Plugin must release work and resources owned by this generation.
Trait Implementations§
Source§impl Clone for PluginLifecyclePhase
impl Clone for PluginLifecyclePhase
impl Copy for PluginLifecyclePhase
Source§impl Debug for PluginLifecyclePhase
impl Debug for PluginLifecyclePhase
impl Eq for PluginLifecyclePhase
Source§impl PartialEq for PluginLifecyclePhase
impl PartialEq for PluginLifecyclePhase
impl StructuralPartialEq for PluginLifecyclePhase
Auto Trait Implementations§
impl Freeze for PluginLifecyclePhase
impl RefUnwindSafe for PluginLifecyclePhase
impl Send for PluginLifecyclePhase
impl Sync for PluginLifecyclePhase
impl Unpin for PluginLifecyclePhase
impl UnsafeUnpin for PluginLifecyclePhase
impl UnwindSafe for PluginLifecyclePhase
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
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§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
Compare self to
key and return true if they are equal.