Enum voyager::RequestDelay
source ·
[−]Expand description
How to delay a request
Variants
Fixed(Duration)
Tuple Fields
0: Duration
Apply a fixed delay to request
Random
Apply a random delay to a request that is in the range of (min
..max
)
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RequestDelay
impl Send for RequestDelay
impl Sync for RequestDelay
impl Unpin for RequestDelay
impl UnwindSafe for RequestDelay
Blanket Implementations
Mutably borrows from an owned value. Read more
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more