pub enum ProxyDiagnostic<W, P>{
UnexpectedWorkerStart {
phase: ProxyPhase,
workers: CreationsSettled<BehaviorAddr<W>, StopOnShutdown<W>>,
},
UnexpectedWorkerStop {
phase: ProxyPhase,
stopped: ChildStopped<BehaviorAddr<W>>,
},
UnexpectedWorkerInitialization {
phase: ProxyPhase,
initialization: WorkerInitializationReport<W, P>,
},
UnexpectedWorkerActivation {
phase: ProxyPhase,
activation: WorkerActivation<W, P>,
},
UnexpectedWorkerShutdown {
phase: ProxyPhase,
shutdown: EstablishedShutdownResolved<W::Protocol>,
},
}Expand description
Lifecycle input returned without changing the current proxy state.
Variants§
UnexpectedWorkerStart
A worker-creation settlement did not belong to the current start.
UnexpectedWorkerStop
A worker stop did not belong to the worker expected by this phase.
UnexpectedWorkerInitialization
A child-host result did not belong to the worker expected by this phase.
UnexpectedWorkerActivation
An activation input did not belong to the worker expected by this phase.
UnexpectedWorkerShutdown
An exact shutdown resolution did not belong to the current worker drain.
Auto Trait Implementations§
impl<W, P> Freeze for ProxyDiagnostic<W, P>
impl<W, P> RefUnwindSafe for ProxyDiagnostic<W, P>where
<<W as Behavior>::Protocol as Protocol>::Addr: Sized + RefUnwindSafe,
P: RefUnwindSafe,
<P as ActivationPlan>::Ready: RefUnwindSafe,
<P as ActivationPlan>::Rejection: RefUnwindSafe,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<W as Behavior>::Protocol>: RefUnwindSafe,
<<<W as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: RefUnwindSafe,
W: RefUnwindSafe,
<W as Behavior>::Error: RefUnwindSafe,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StopOnShutdown<W>>: RefUnwindSafe,
<W as Behavior>::Sends: RefUnwindSafe,
<W as Behavior>::Ph: RefUnwindSafe,
<<W as Behavior>::Birth as BirthMode>::Child: RefUnwindSafe,
impl<W, P> Send for ProxyDiagnostic<W, P>where
<<W as Behavior>::Protocol as Protocol>::Addr: Sized + Send,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<W as Behavior>::Protocol>: Send,
<<<W as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Send,
W: Send,
<W as Behavior>::Error: Send,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StopOnShutdown<W>>: Send,
<W as Behavior>::Sends: Send,
<W as Behavior>::Ph: Send,
<<W as Behavior>::Birth as BirthMode>::Child: Send,
impl<W, P> Sync for ProxyDiagnostic<W, P>where
<<W as Behavior>::Protocol as Protocol>::Addr: Sized + Sync,
P: Sync,
<P as ActivationPlan>::Ready: Sync,
<P as ActivationPlan>::Rejection: Sync,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<W as Behavior>::Protocol>: Sync,
<<<W as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Sync,
W: Sync,
<W as Behavior>::Error: Sync,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StopOnShutdown<W>>: Sync,
<W as Behavior>::Sends: Sync,
<W as Behavior>::Ph: Sync,
<<W as Behavior>::Birth as BirthMode>::Child: Sync,
impl<W, P> Unpin for ProxyDiagnostic<W, P>where
<<W as Behavior>::Protocol as Protocol>::Addr: Sized + Unpin,
P: Unpin,
<P as ActivationPlan>::Ready: Unpin,
<P as ActivationPlan>::Rejection: Unpin,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<W as Behavior>::Protocol>: Unpin,
<<<W as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: Unpin,
W: Unpin,
<W as Behavior>::Error: Unpin,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StopOnShutdown<W>>: Unpin,
<W as Behavior>::Sends: Unpin,
<W as Behavior>::Ph: Unpin,
<<W as Behavior>::Birth as BirthMode>::Child: Unpin,
impl<W, P> UnsafeUnpin for ProxyDiagnostic<W, P>where
<<W as Behavior>::Protocol as Protocol>::Addr: Sized + UnsafeUnpin,
P: UnsafeUnpin,
<P as ActivationPlan>::Ready: UnsafeUnpin,
<P as ActivationPlan>::Rejection: UnsafeUnpin,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<W as Behavior>::Protocol>: UnsafeUnpin,
impl<W, P> UnwindSafe for ProxyDiagnostic<W, P>where
<<W as Behavior>::Protocol as Protocol>::Addr: Sized + UnwindSafe,
P: UnwindSafe,
<P as ActivationPlan>::Ready: UnwindSafe,
<P as ActivationPlan>::Rejection: UnwindSafe,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Established<<W as Behavior>::Protocol>: UnwindSafe,
<<<W as Behavior>::Protocol as Protocol>::Addr as Address>::Nonce: UnwindSafe,
W: UnwindSafe,
<W as Behavior>::Error: UnwindSafe,
<<<W as Behavior>::Protocol as Protocol>::Addr as EndpointAddress>::Installed<StopOnShutdown<W>>: UnwindSafe,
<W as Behavior>::Sends: UnwindSafe,
<W as Behavior>::Ph: UnwindSafe,
<<W as Behavior>::Birth as BirthMode>::Child: 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