pub struct PriorityQueueConfig {
pub max_queue_size: usize,
pub dead_letter_enabled: bool,
pub dead_letter_threshold: u32,
pub cleanup_interval: Duration,
pub metrics_enabled: bool,
}Expand description
Priority queue configuration
Fields§
§max_queue_size: usize§dead_letter_enabled: bool§dead_letter_threshold: u32§cleanup_interval: Duration§metrics_enabled: boolTrait 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<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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