pub struct ChildWorkflowOptions {
pub task_queue: String,
pub parent_close_policy: ParentClosePolicy,
pub cancellation_policy: CancellationPolicy,
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§cancellation_policy: CancellationPolicy§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 cancellation_policy(self, policy: CancellationPolicy) -> 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§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 Forget for ChildWorkflowOptions
impl Freeze for ChildWorkflowOptionswhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<u64>: Freeze,
PhantomData<String>: Freeze,
impl Move for ChildWorkflowOptions
impl RefUnwindSafe for ChildWorkflowOptions
impl Send for ChildWorkflowOptionswhere
RawVecInner: Send,
impl Sync for ChildWorkflowOptionswhere
RawVecInner: Sync,
impl Unpin for ChildWorkflowOptions
impl UnsafeUnpin for ChildWorkflowOptionswhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<u64>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
impl UnwindSafe for ChildWorkflowOptionswhere
RawVecInner: UnwindSafe,
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