pub enum ReplacementResolution<N> {
Installed {
proxy: N,
replaced: N,
replacement: N,
},
Rejected {
proxy: N,
replaced: N,
attempt: N,
rejection: CreationRejection,
},
}Expand description
Consumer-facing resolution of one explicitly designated replacement.
This is a derived view of WorkerCreationResolved, not another runtime
fact or observation request. replaced is the exact prior incarnation
carried by Behavior in CreationKind::ReplacementIncarnation;
replacement/attempt is the fresh creation nonce. The prior worker’s
terminal outcome remains the separate WorkerStopped fact so creation
resolution cannot duplicate, erase, or reinterpret it.
Variants§
Trait Implementations§
Source§impl<N: Clone> Clone for ReplacementResolution<N>
impl<N: Clone> Clone for ReplacementResolution<N>
Source§fn clone(&self) -> ReplacementResolution<N>
fn clone(&self) -> ReplacementResolution<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 ReplacementResolution<N>
impl<N: Debug> Debug for ReplacementResolution<N>
Source§impl<N: PartialEq> PartialEq for ReplacementResolution<N>
impl<N: PartialEq> PartialEq for ReplacementResolution<N>
impl<N: Copy> Copy for ReplacementResolution<N>
impl<N: Eq> Eq for ReplacementResolution<N>
impl<N> StructuralPartialEq for ReplacementResolution<N>
Auto Trait Implementations§
impl<N> Freeze for ReplacementResolution<N>where
N: Freeze,
impl<N> RefUnwindSafe for ReplacementResolution<N>where
N: RefUnwindSafe,
impl<N> Send for ReplacementResolution<N>where
N: Send,
impl<N> Sync for ReplacementResolution<N>where
N: Sync,
impl<N> Unpin for ReplacementResolution<N>where
N: Unpin,
impl<N> UnsafeUnpin for ReplacementResolution<N>where
N: UnsafeUnpin,
impl<N> UnwindSafe for ReplacementResolution<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