pub struct IdempotencyConfig {
pub max_entries: usize,
pub max_completed_bytes: usize,
pub completed_ttl: Duration,
pub in_flight_ttl: Duration,
pub unknown_ttl: Duration,
}Expand description
Bounds for replay records and abandoned in-flight operations.
Fields§
§max_entries: usizeMaximum keys retained at once.
max_completed_bytes: usizeMaximum serialized response bytes retained for replay.
completed_ttl: DurationCompleted response replay lifetime.
in_flight_ttl: DurationSafety lifetime for a leader that disappears without completing.
unknown_ttl: DurationRetention for a provider operation whose outcome is unknown.
Trait Implementations§
Source§impl Clone for IdempotencyConfig
impl Clone for IdempotencyConfig
Source§fn clone(&self) -> IdempotencyConfig
fn clone(&self) -> IdempotencyConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for IdempotencyConfig
Source§impl Debug for IdempotencyConfig
impl Debug for IdempotencyConfig
Source§impl Default for IdempotencyConfig
impl Default for IdempotencyConfig
impl Eq for IdempotencyConfig
Source§impl PartialEq for IdempotencyConfig
impl PartialEq for IdempotencyConfig
impl StructuralPartialEq for IdempotencyConfig
Auto Trait Implementations§
impl Freeze for IdempotencyConfig
impl RefUnwindSafe for IdempotencyConfig
impl Send for IdempotencyConfig
impl Sync for IdempotencyConfig
impl Unpin for IdempotencyConfig
impl UnsafeUnpin for IdempotencyConfig
impl UnwindSafe for IdempotencyConfig
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