pub enum LifecycleCallbackSlot {
Configure,
Activate,
Deactivate,
Cleanup,
Shutdown,
Error,
}Expand description
Which transition callback slot to register in LifecyclePollingNodeCtx::register.
Variants§
Configure
Unconfigured -> Inactive
Activate
Inactive -> Active
Deactivate
Active -> Inactive
Cleanup
Inactive -> Unconfigured
Shutdown
any state -> Finalized
Error
ErrorProcessing -> Unconfigured
Trait Implementations§
Source§impl Clone for LifecycleCallbackSlot
impl Clone for LifecycleCallbackSlot
Source§fn clone(&self) -> LifecycleCallbackSlot
fn clone(&self) -> LifecycleCallbackSlot
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for LifecycleCallbackSlot
impl Debug for LifecycleCallbackSlot
Source§impl PartialEq for LifecycleCallbackSlot
impl PartialEq for LifecycleCallbackSlot
impl Copy for LifecycleCallbackSlot
impl Eq for LifecycleCallbackSlot
impl StructuralPartialEq for LifecycleCallbackSlot
Auto Trait Implementations§
impl Freeze for LifecycleCallbackSlot
impl RefUnwindSafe for LifecycleCallbackSlot
impl Send for LifecycleCallbackSlot
impl Sync for LifecycleCallbackSlot
impl Unpin for LifecycleCallbackSlot
impl UnsafeUnpin for LifecycleCallbackSlot
impl UnwindSafe for LifecycleCallbackSlot
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