Struct paxakos::append::AppendArgs [−][src]
pub struct AppendArgs<I: Invocation, R = DoNotRetry<I>> {
pub round: RangeInclusive<RoundNumOf<I>>,
pub importance: Importance,
pub retry_policy: R,
}
Expand description
Options that determine how an append is performed.
Fields
round: RangeInclusive<RoundNumOf<I>>
The round(s) in which the entry should be appended. The append won’t be started until the round(s) can be settled and will fail if they already are.
importance: Importance
The append’s importance.
retry_policy: R
The retry policy with which to perform the append.
Trait Implementations
impl<C, I> From<ExponentialBackoff<C>> for AppendArgs<I, RetryWithBackoff<ExponentialBackoff<C>, I>> where
C: Clock + Send + 'static,
I: Invocation + Send,
impl<C, I> From<ExponentialBackoff<C>> for AppendArgs<I, RetryWithBackoff<ExponentialBackoff<C>, I>> where
C: Clock + Send + 'static,
I: Invocation + Send,
Performs the conversion.
Auto Trait Implementations
impl<I, R> RefUnwindSafe for AppendArgs<I, R> where
R: RefUnwindSafe,
<I as Invocation>::RoundNum: RefUnwindSafe,
impl<I, R> Send for AppendArgs<I, R> where
R: Send,
impl<I, R> Sync for AppendArgs<I, R> where
R: Sync,
impl<I, R> Unpin for AppendArgs<I, R> where
R: Unpin,
impl<I, R> UnwindSafe for AppendArgs<I, R> where
R: UnwindSafe,
<I as Invocation>::RoundNum: UnwindSafe,
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more