pub struct ConcurrencyPolicy {
pub max_concurrent_requests: usize,
}
Expand description
A policy for configuring how many requests can be executed concurrently.
Fields§
§max_concurrent_requests: usize
Implementations§
Trait Implementations§
Source§impl Clone for ConcurrencyPolicy
impl Clone for ConcurrencyPolicy
Source§fn clone(&self) -> ConcurrencyPolicy
fn clone(&self) -> ConcurrencyPolicy
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 moreAuto Trait Implementations§
impl Freeze for ConcurrencyPolicy
impl RefUnwindSafe for ConcurrencyPolicy
impl Send for ConcurrencyPolicy
impl Sync for ConcurrencyPolicy
impl Unpin for ConcurrencyPolicy
impl UnwindSafe for ConcurrencyPolicy
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