#[repr(i32)]pub enum FlowCloneForkPointType {
Unspecified = 0,
Current = 1,
Beginning = 2,
HistoryEventTime = 3,
StepType = 4,
StepExecutionId = 5,
EventId = 6,
}Expand description
Selects the point of the source run whose state CloneForkFlow copies.
A point is the state of the source run right after one recorded change. Every type except CURRENT selects its point exactly as the FlowResetType of the same name selects the point that ResetFlow returns to. Such a point must be inside the time travel window of the source run; BEGINNING is always available. A point outside the window fails with FAILED_PRECONDITION.
Variants§
Unspecified = 0
Same as FLOW_CLONE_FORK_POINT_TYPE_CURRENT.
Current = 1
The latest committed state of the source run’s current run attempt. It includes every change that committed before CloneForkFlow read the source, and no change in flight.
Beginning = 2
The state right after the source run started, as FLOW_RESET_TYPE_BEGINNING selects it.
HistoryEventTime = 3
The first point at or after CloneForkFlowRequest.history_event_time, as FLOW_RESET_TYPE_HISTORY_EVENT_TIME selects it.
StepType = 4
The point that FLOW_RESET_TYPE_STEP_TYPE selects for CloneForkFlowRequest.step_type.
StepExecutionId = 5
The point that FLOW_RESET_TYPE_STEP_EXECUTION_ID selects for CloneForkFlowRequest.step_execution_id and CloneForkFlowRequest.step_method.
EventId = 6
The point right after the change that recorded CloneForkFlowRequest.event_id, as FLOW_RESET_TYPE_EVENT_ID selects it.
Implementations§
Source§impl FlowCloneForkPointType
impl FlowCloneForkPointType
Sourcepub const fn is_valid(value: i32) -> bool
pub const fn is_valid(value: i32) -> bool
Returns true if value is a variant of FlowCloneForkPointType.
Sourcepub fn from_i32(value: i32) -> Option<FlowCloneForkPointType>
👎Deprecated: Use the TryFrom<i32> implementation instead
pub fn from_i32(value: i32) -> Option<FlowCloneForkPointType>
Use the TryFrom<i32> implementation instead
Converts an i32 to a FlowCloneForkPointType, or None if value is not a valid variant.
Source§impl FlowCloneForkPointType
impl FlowCloneForkPointType
Sourcepub fn as_str_name(&self) -> &'static str
pub fn as_str_name(&self) -> &'static str
String value of the enum field names used in the ProtoBuf definition.
The values are not transformed in any way and thus are considered stable (if the ProtoBuf definition does not change) and safe for programmatic use.
Sourcepub fn from_str_name(value: &str) -> Option<Self>
pub fn from_str_name(value: &str) -> Option<Self>
Creates an enum from field names used in the ProtoBuf definition.
Trait Implementations§
Source§impl Clone for FlowCloneForkPointType
impl Clone for FlowCloneForkPointType
impl Copy for FlowCloneForkPointType
Source§impl Debug for FlowCloneForkPointType
impl Debug for FlowCloneForkPointType
Source§impl Default for FlowCloneForkPointType
impl Default for FlowCloneForkPointType
Source§fn default() -> FlowCloneForkPointType
fn default() -> FlowCloneForkPointType
impl Eq for FlowCloneForkPointType
Source§impl From<FlowCloneForkPointType> for i32
impl From<FlowCloneForkPointType> for i32
Source§fn from(value: FlowCloneForkPointType) -> i32
fn from(value: FlowCloneForkPointType) -> i32
Source§impl Hash for FlowCloneForkPointType
impl Hash for FlowCloneForkPointType
Source§impl Ord for FlowCloneForkPointType
impl Ord for FlowCloneForkPointType
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for FlowCloneForkPointType
impl PartialEq for FlowCloneForkPointType
Source§impl PartialOrd for FlowCloneForkPointType
impl PartialOrd for FlowCloneForkPointType
impl StructuralPartialEq for FlowCloneForkPointType
Source§impl TryFrom<i32> for FlowCloneForkPointType
impl TryFrom<i32> for FlowCloneForkPointType
Source§type Error = UnknownEnumValue
type Error = UnknownEnumValue
Source§fn try_from(value: i32) -> Result<FlowCloneForkPointType, UnknownEnumValue>
fn try_from(value: i32) -> Result<FlowCloneForkPointType, UnknownEnumValue>
Auto Trait Implementations§
impl Forget for FlowCloneForkPointType
impl Freeze for FlowCloneForkPointType
impl Move for FlowCloneForkPointType
impl RefUnwindSafe for FlowCloneForkPointType
impl Send for FlowCloneForkPointType
impl Sync for FlowCloneForkPointType
impl Unpin for FlowCloneForkPointType
impl UnsafeUnpin for FlowCloneForkPointType
impl UnwindSafe for FlowCloneForkPointType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
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
key and return true if they are equal.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>
T in a tonic::Request