#[non_exhaustive]pub enum ContinueAsNewVersioningBehavior {
Unspecified,
AutoUpgrade,
UseRampingVersion,
}Expand description
Versioning behavior to use for the first workflow task of a new continue-as-new run.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Unspecified
No initial versioning behavior was specified.
AutoUpgrade
Start the new run with AutoUpgrade behavior.
UseRampingVersion
Start the new run on the task queue’s ramping deployment version.
Trait Implementations§
Source§impl Clone for ContinueAsNewVersioningBehavior
impl Clone for ContinueAsNewVersioningBehavior
Source§fn clone(&self) -> ContinueAsNewVersioningBehavior
fn clone(&self) -> ContinueAsNewVersioningBehavior
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 ContinueAsNewVersioningBehavior
Source§impl Default for ContinueAsNewVersioningBehavior
impl Default for ContinueAsNewVersioningBehavior
Source§fn default() -> ContinueAsNewVersioningBehavior
fn default() -> ContinueAsNewVersioningBehavior
Returns the “default value” for a type. Read more
impl Eq for ContinueAsNewVersioningBehavior
Source§impl From<ContinueAsNewVersioningBehavior> for ContinueAsNewVersioningBehavior
impl From<ContinueAsNewVersioningBehavior> for ContinueAsNewVersioningBehavior
Source§fn from(value: ContinueAsNewVersioningBehavior) -> Self
fn from(value: ContinueAsNewVersioningBehavior) -> Self
Converts to this type from the input type.
Source§impl From<ContinueAsNewVersioningBehavior> for ContinueAsNewVersioningBehavior
impl From<ContinueAsNewVersioningBehavior> for ContinueAsNewVersioningBehavior
Source§fn from(value: ProtoContinueAsNewVersioningBehavior) -> Self
fn from(value: ProtoContinueAsNewVersioningBehavior) -> Self
Converts to this type from the input type.
Source§impl PartialEq for ContinueAsNewVersioningBehavior
impl PartialEq for ContinueAsNewVersioningBehavior
Source§fn eq(&self, other: &ContinueAsNewVersioningBehavior) -> bool
fn eq(&self, other: &ContinueAsNewVersioningBehavior) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ContinueAsNewVersioningBehavior
Auto Trait Implementations§
impl Freeze for ContinueAsNewVersioningBehavior
impl RefUnwindSafe for ContinueAsNewVersioningBehavior
impl Send for ContinueAsNewVersioningBehavior
impl Sync for ContinueAsNewVersioningBehavior
impl Unpin for ContinueAsNewVersioningBehavior
impl UnsafeUnpin for ContinueAsNewVersioningBehavior
impl UnwindSafe for ContinueAsNewVersioningBehavior
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
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> 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