pub enum Concurrency {
Limit(usize),
Unlimited,
}Expand description
Defines concurrency limits for named queues (for future use).
Variants§
Limit(usize)
Specifies a maximum number of concurrent tasks for a queue.
Unlimited
Allows an unlimited number of concurrent tasks for a queue.
Trait Implementations§
Source§impl Clone for Concurrency
impl Clone for Concurrency
Source§fn clone(&self) -> Concurrency
fn clone(&self) -> Concurrency
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 Concurrency
impl Debug for Concurrency
impl Copy for Concurrency
Auto Trait Implementations§
impl Freeze for Concurrency
impl RefUnwindSafe for Concurrency
impl Send for Concurrency
impl Sync for Concurrency
impl Unpin for Concurrency
impl UnwindSafe for Concurrency
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