pub struct ExactWorkflowOptions { /* private fields */ }Expand description
Immutable budgets and optional recovery storage for one exact invocation.
Implementations§
Source§impl ExactWorkflowOptions
impl ExactWorkflowOptions
pub fn new(effect_deadline_unix_millis: u64) -> Self
pub fn with_observation_deadline_unix_millis(self, value: u64) -> Self
pub fn with_store(self, store: ExactWorkflowStore) -> Self
pub fn with_recovery(self, recovery: ExactWorkflowRecoveryV1) -> Self
pub fn with_clock(self, clock: Arc<dyn ExactWorkflowClock>) -> Self
pub fn with_cancellation(self, cancellation: CallCancellation) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ExactWorkflowOptions
impl !UnwindSafe for ExactWorkflowOptions
impl Freeze for ExactWorkflowOptions
impl Send for ExactWorkflowOptions
impl Sync for ExactWorkflowOptions
impl Unpin for ExactWorkflowOptions
impl UnsafeUnpin for ExactWorkflowOptions
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