pub struct PriorityQueueConfig {
pub max_queue_size: usize,
pub max_workers: usize,
}Expand description
Configuration for priority queue
Fields§
§max_queue_size: usizeMaximum total queue size across all priorities
max_workers: usizeMaximum number of concurrent workers
Trait Implementations§
Source§impl Clone for PriorityQueueConfig
impl Clone for PriorityQueueConfig
Source§fn clone(&self) -> PriorityQueueConfig
fn clone(&self) -> PriorityQueueConfig
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 PriorityQueueConfig
impl Debug for PriorityQueueConfig
Auto Trait Implementations§
impl Freeze for PriorityQueueConfig
impl RefUnwindSafe for PriorityQueueConfig
impl Send for PriorityQueueConfig
impl Sync for PriorityQueueConfig
impl Unpin for PriorityQueueConfig
impl UnwindSafe for PriorityQueueConfig
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