pub struct WorkQueueConfig {
pub max_items: usize,
}Expand description
Configuration for the work queue.
Fields§
§max_items: usizeMaximum items in the queue before eviction.
Trait Implementations§
Source§impl Clone for WorkQueueConfig
impl Clone for WorkQueueConfig
Source§fn clone(&self) -> WorkQueueConfig
fn clone(&self) -> WorkQueueConfig
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 moreSource§impl Debug for WorkQueueConfig
impl Debug for WorkQueueConfig
Auto Trait Implementations§
impl Freeze for WorkQueueConfig
impl RefUnwindSafe for WorkQueueConfig
impl Send for WorkQueueConfig
impl Sync for WorkQueueConfig
impl Unpin for WorkQueueConfig
impl UnsafeUnpin for WorkQueueConfig
impl UnwindSafe for WorkQueueConfig
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