pub trait RunFuture<O>: Future<Output = O> {
// Required methods
fn retry_policy(self, retry_policy: RunRetryPolicy) -> Self;
fn name(self, name: impl Into<String>) -> Self;
}
Expand description
Future created using ContextSideEffects::run
.
Required Methods§
Sourcefn retry_policy(self, retry_policy: RunRetryPolicy) -> Self
fn retry_policy(self, retry_policy: RunRetryPolicy) -> Self
Provide a custom retry policy for this run
operation.
If unspecified, the run
will be retried using the Restate invoker retry policy,
which by default retries indefinitely.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.