pub struct ChildWorkflowOptions {
pub task_queue: String,
pub parent_close_policy: ParentClosePolicy,
pub retry_policy: Option<ChildWorkflowRetryPolicy>,
pub execution_timeout_seconds: Option<u64>,
pub run_timeout_seconds: Option<u64>,
}Expand description
Options recorded with a child-workflow command.
The task queue is mandatory so routing is explicit and replay-stable.
Fields§
§task_queue: String§parent_close_policy: ParentClosePolicy§retry_policy: Option<ChildWorkflowRetryPolicy>§execution_timeout_seconds: Option<u64>§run_timeout_seconds: Option<u64>Implementations§
Source§impl ChildWorkflowOptions
impl ChildWorkflowOptions
pub fn new(task_queue: impl Into<String>) -> Self
pub fn parent_close_policy(self, policy: ParentClosePolicy) -> Self
pub fn retry_policy(self, policy: ChildWorkflowRetryPolicy) -> Self
pub fn execution_timeout_seconds(self, seconds: u64) -> Self
pub fn run_timeout_seconds(self, seconds: u64) -> Self
Trait Implementations§
Source§impl Clone for ChildWorkflowOptions
impl Clone for ChildWorkflowOptions
Source§fn clone(&self) -> ChildWorkflowOptions
fn clone(&self) -> ChildWorkflowOptions
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 ChildWorkflowOptions
impl Debug for ChildWorkflowOptions
impl Eq for ChildWorkflowOptions
Source§impl PartialEq for ChildWorkflowOptions
impl PartialEq for ChildWorkflowOptions
impl StructuralPartialEq for ChildWorkflowOptions
Auto Trait Implementations§
impl Freeze for ChildWorkflowOptions
impl RefUnwindSafe for ChildWorkflowOptions
impl Send for ChildWorkflowOptions
impl Sync for ChildWorkflowOptions
impl Unpin for ChildWorkflowOptions
impl UnsafeUnpin for ChildWorkflowOptions
impl UnwindSafe for ChildWorkflowOptions
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