pub struct ConcurrencyLimit {
pub max_concurrent: usize,
pub max_queued: usize,
}Expand description
One concurrency pool and its bounded waiting room.
Fields§
§max_concurrent: usizeMaximum operations executing concurrently.
max_queued: usizeMaximum operations waiting for this pool.
Trait Implementations§
Source§impl Clone for ConcurrencyLimit
impl Clone for ConcurrencyLimit
Source§fn clone(&self) -> ConcurrencyLimit
fn clone(&self) -> ConcurrencyLimit
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 ConcurrencyLimit
Source§impl Debug for ConcurrencyLimit
impl Debug for ConcurrencyLimit
Source§impl Default for ConcurrencyLimit
impl Default for ConcurrencyLimit
impl Eq for ConcurrencyLimit
Source§impl PartialEq for ConcurrencyLimit
impl PartialEq for ConcurrencyLimit
impl StructuralPartialEq for ConcurrencyLimit
Auto Trait Implementations§
impl Freeze for ConcurrencyLimit
impl RefUnwindSafe for ConcurrencyLimit
impl Send for ConcurrencyLimit
impl Sync for ConcurrencyLimit
impl Unpin for ConcurrencyLimit
impl UnsafeUnpin for ConcurrencyLimit
impl UnwindSafe for ConcurrencyLimit
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