pub struct FastForwardConfig {
pub id: String,
pub duration: Option<Duration>,
}Fields§
§id: StringA client-supplied ID, required field, set alongside duration. It is used to poll for
fast-forward completion via PollWorkflowExecutionTimeSkipping.
The server performs no idempotency check on this ID; the client is responsible for managing it.
duration: Option<Duration>Fast-forward the current execution by this duration ahead of the current execution time; required field.
The duration yields a target time (current execution time + duration), surfaced as target_time in
TimeSkippingFastForwardInfo. Once virtual time reaches that target, the fast-forward completes, time
skipping is disabled, and no further time is skipped. Time skipping can be resumed either
by updating the TimeSkippingConfig with a new FastForwardConfig, or by clearing the FastForwardConfig
to skip through to the end of the execution.
If this duration exceeds the remaining execution timeout, time will not pass beyond the end of the execution, and the fast-forward won’t have a chance to complete.
Trait Implementations§
Source§impl Clone for FastForwardConfig
impl Clone for FastForwardConfig
Source§fn clone(&self) -> FastForwardConfig
fn clone(&self) -> FastForwardConfig
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for FastForwardConfig
impl Debug for FastForwardConfig
Source§impl Default for FastForwardConfig
impl Default for FastForwardConfig
impl Eq for FastForwardConfig
Source§impl Hash for FastForwardConfig
impl Hash for FastForwardConfig
Source§impl Message for FastForwardConfig
impl Message for FastForwardConfig
Source§fn encoded_len(&self) -> usize
fn encoded_len(&self) -> usize
Source§fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
fn encode(&self, buf: &mut impl BufMut) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
fn encode_length_delimited(
&self,
buf: &mut impl BufMut,
) -> Result<(), EncodeError>where
Self: Sized,
Source§fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
fn encode_length_delimited_to_vec(&self) -> Vec<u8> ⓘwhere
Self: Sized,
Source§fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
fn decode_length_delimited(buf: impl Buf) -> Result<Self, DecodeError>where
Self: Default,
Source§fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self. Read moreSource§fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
fn merge_length_delimited(&mut self, buf: impl Buf) -> Result<(), DecodeError>where
Self: Sized,
self.Source§impl Name for FastForwardConfig
impl Name for FastForwardConfig
Source§const NAME: &'static str = "FastForwardConfig"
const NAME: &'static str = "FastForwardConfig"
Message.
This name is the same as it appears in the source .proto file, e.g. FooBar.Source§const PACKAGE: &'static str = "temporal.api.common.v1"
const PACKAGE: &'static str = "temporal.api.common.v1"
., e.g. google.protobuf.Source§fn full_name() -> String
fn full_name() -> String
Message.
It’s prefixed with the package name and names of any parent messages,
e.g. google.rpc.BadRequest.FieldViolation.
By default, this is the package name followed by the message name.
Fully-qualified names must be unique within a domain of Type URLs.Source§impl PartialEq for FastForwardConfig
impl PartialEq for FastForwardConfig
impl StructuralPartialEq for FastForwardConfig
Auto Trait Implementations§
impl Freeze for FastForwardConfig
impl RefUnwindSafe for FastForwardConfig
impl Send for FastForwardConfig
impl Sync for FastForwardConfig
impl Unpin for FastForwardConfig
impl UnsafeUnpin for FastForwardConfig
impl UnwindSafe for FastForwardConfig
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<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