pub enum Convergence {
Idempotent,
Replacing,
}Expand description
How far a convergence may go when a live instance already exists.
The distinction is the staleness law: a supervised worker replays its record’s argv VERBATIM, so a record whose argv was rewritten underneath a running instance is being served by a launch nobody deployed. Only the caller knows which of the two happened, so only the caller may choose.
Variants§
Idempotent
Leave an already-live instance running: it is serving this record’s argv.
Replacing
Replace any live instance, because the record’s argv was rewritten.
Trait Implementations§
Source§impl Clone for Convergence
impl Clone for Convergence
Source§fn clone(&self) -> Convergence
fn clone(&self) -> Convergence
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 moreimpl Copy for Convergence
Source§impl Debug for Convergence
impl Debug for Convergence
impl Eq for Convergence
Source§impl PartialEq for Convergence
impl PartialEq for Convergence
impl StructuralPartialEq for Convergence
Auto Trait Implementations§
impl Freeze for Convergence
impl RefUnwindSafe for Convergence
impl Send for Convergence
impl Sync for Convergence
impl Unpin for Convergence
impl UnsafeUnpin for Convergence
impl UnwindSafe for Convergence
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§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> 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.
Source§impl<T> IntoRequest<T> for T
impl<T> IntoRequest<T> for T
Source§fn into_request(self) -> Request<T>
fn into_request(self) -> Request<T>
Wrap the input message
T in a tonic::Request