pub struct RetryOptions {
pub first_retry_interval_ms: i32,
pub max_attempts: i32,
pub backoff_coefficient: Option<f64>,
pub max_retry_interval_ms: Option<i32>,
pub retry_timeout_ms: Option<i32>,
}
Expand description
Defines retry policies that can be passed as parameters to various Durable Functions operations.
Fields§
§first_retry_interval_ms: i32
The first retry interval in milliseconds.
max_attempts: i32
The maximum number of retry attempts.
backoff_coefficient: Option<f64>
The backoff coefficient used to determine rate of increase of backoff. Defaults to 1.
max_retry_interval_ms: Option<i32>
The max retry interval in milliseconds.
retry_timeout_ms: Option<i32>
The timeout for retries in milliseconds.
Trait Implementations§
Source§impl Clone for RetryOptions
impl Clone for RetryOptions
Source§fn clone(&self) -> RetryOptions
fn clone(&self) -> RetryOptions
Returns a copy of the value. Read more
1.0.0 · 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 RetryOptions
impl Debug for RetryOptions
Source§impl Default for RetryOptions
impl Default for RetryOptions
Source§fn default() -> RetryOptions
fn default() -> RetryOptions
Returns the “default value” for a type. Read more
Source§impl PartialEq for RetryOptions
impl PartialEq for RetryOptions
Source§impl Serialize for RetryOptions
impl Serialize for RetryOptions
impl StructuralPartialEq for RetryOptions
Auto Trait Implementations§
impl Freeze for RetryOptions
impl RefUnwindSafe for RetryOptions
impl Send for RetryOptions
impl Sync for RetryOptions
impl Unpin for RetryOptions
impl UnwindSafe for RetryOptions
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