pub enum PluginLifecyclePhase {
Prepare,
Activate,
Ready,
Deactivate,
}Expand description
The lifecycle phase represented by a Plugin context.
Variants§
Prepare
The Plugin may validate configuration and reserve reversible resources.
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
Source§fn clone(&self) -> PluginLifecyclePhase
fn clone(&self) -> PluginLifecyclePhase
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl 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