pub struct DelayedQueueConfig {
pub max_queue_size: usize,
pub poll_interval: Duration,
pub max_concurrent_executions: usize,
}Expand description
延迟任务队列配置
Fields§
§max_queue_size: usize最大队列大小
poll_interval: Duration轮询间隔
max_concurrent_executions: usize最大并发执行数
Trait Implementations§
Source§impl Clone for DelayedQueueConfig
impl Clone for DelayedQueueConfig
Source§fn clone(&self) -> DelayedQueueConfig
fn clone(&self) -> DelayedQueueConfig
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 DelayedQueueConfig
impl Debug for DelayedQueueConfig
Auto Trait Implementations§
impl Freeze for DelayedQueueConfig
impl RefUnwindSafe for DelayedQueueConfig
impl Send for DelayedQueueConfig
impl Sync for DelayedQueueConfig
impl Unpin for DelayedQueueConfig
impl UnsafeUnpin for DelayedQueueConfig
impl UnwindSafe for DelayedQueueConfig
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