pub struct WorkerRecoveryPlan {
pub target: Option<TargetRecoveryPlan>,
pub liveness_probe: CommandSpec,
pub binary_refresh: Option<WorkerBinaryRefresh>,
pub launch_refresh: Option<WorkerLaunchRefreshPlan>,
pub restart: CommandPlan,
}Fields§
§target: Option<TargetRecoveryPlan>§liveness_probe: CommandSpec§binary_refresh: Option<WorkerBinaryRefresh>Refresh a stale installed worker before restarting it. The digest is computed inside the recovery task so hashing a large binary never blocks a controller UI loop.
launch_refresh: Option<WorkerLaunchRefreshPlan>Keep the worker executable and its launch schema paired. Configuration bytes travel through redacted stdin only when their digest is stale.
restart: CommandPlanTrait Implementations§
Source§impl Clone for WorkerRecoveryPlan
impl Clone for WorkerRecoveryPlan
Source§fn clone(&self) -> WorkerRecoveryPlan
fn clone(&self) -> WorkerRecoveryPlan
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 moreSource§impl Debug for WorkerRecoveryPlan
impl Debug for WorkerRecoveryPlan
impl Eq for WorkerRecoveryPlan
Source§impl PartialEq for WorkerRecoveryPlan
impl PartialEq for WorkerRecoveryPlan
impl StructuralPartialEq for WorkerRecoveryPlan
Auto Trait Implementations§
impl Freeze for WorkerRecoveryPlan
impl RefUnwindSafe for WorkerRecoveryPlan
impl Send for WorkerRecoveryPlan
impl Sync for WorkerRecoveryPlan
impl Unpin for WorkerRecoveryPlan
impl UnsafeUnpin for WorkerRecoveryPlan
impl UnwindSafe for WorkerRecoveryPlan
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> IntoMaybeUndefined<T> for T
impl<T> IntoMaybeUndefined<T> for T
Source§fn into_maybe_undefined(self) -> MaybeUndefined<T>
fn into_maybe_undefined(self) -> MaybeUndefined<T>
Converts this value into a three-state builder argument.
Source§impl<T> IntoOption<T> for T
impl<T> IntoOption<T> for T
Source§fn into_option(self) -> Option<T>
fn into_option(self) -> Option<T>
Converts this value into an optional builder argument.