pub struct HedgingConfig {
pub hedge_delay: Duration,
}Expand description
Configuration for request hedging.
Fields§
§hedge_delay: DurationDelay before sending the hedged (backup) request.
Trait Implementations§
Source§impl Clone for HedgingConfig
impl Clone for HedgingConfig
Source§fn clone(&self) -> HedgingConfig
fn clone(&self) -> HedgingConfig
Returns a duplicate 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 HedgingConfig
impl Debug for HedgingConfig
Auto Trait Implementations§
impl Freeze for HedgingConfig
impl RefUnwindSafe for HedgingConfig
impl Send for HedgingConfig
impl Sync for HedgingConfig
impl Unpin for HedgingConfig
impl UnsafeUnpin for HedgingConfig
impl UnwindSafe for HedgingConfig
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