pub enum IncarnationPhase<N> {
Dormant,
Installing {
attempt: N,
kind: CreationKind<N>,
},
Running {
incarnation: N,
},
AwaitingStop {
incarnation: N,
},
Vacant {
last_installed: Option<N>,
},
}Expand description
A copyable observation of the lifecycle without owned child specifications.
Variants§
Trait Implementations§
Source§impl<N: Clone> Clone for IncarnationPhase<N>
impl<N: Clone> Clone for IncarnationPhase<N>
Source§fn clone(&self) -> IncarnationPhase<N>
fn clone(&self) -> IncarnationPhase<N>
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<N: Debug> Debug for IncarnationPhase<N>
impl<N: Debug> Debug for IncarnationPhase<N>
Source§impl<N: PartialEq> PartialEq for IncarnationPhase<N>
impl<N: PartialEq> PartialEq for IncarnationPhase<N>
impl<N: Copy> Copy for IncarnationPhase<N>
impl<N: Eq> Eq for IncarnationPhase<N>
impl<N> StructuralPartialEq for IncarnationPhase<N>
Auto Trait Implementations§
impl<N> Freeze for IncarnationPhase<N>where
N: Freeze,
impl<N> RefUnwindSafe for IncarnationPhase<N>where
N: RefUnwindSafe,
impl<N> Send for IncarnationPhase<N>where
N: Send,
impl<N> Sync for IncarnationPhase<N>where
N: Sync,
impl<N> Unpin for IncarnationPhase<N>where
N: Unpin,
impl<N> UnsafeUnpin for IncarnationPhase<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for IncarnationPhase<N>where
N: UnwindSafe,
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