pub struct MetadataSchedulerLimits {
pub queue_size: usize,
pub concurrency: usize,
}Expand description
Pending-queue capacity and maximum concurrent Metadata jobs.
Fields§
§queue_size: usizeMaximum deduplicated pending InfoHashes.
concurrency: usizeMaximum concurrently spawned jobs.
Trait Implementations§
Source§impl Clone for MetadataSchedulerLimits
impl Clone for MetadataSchedulerLimits
Source§fn clone(&self) -> MetadataSchedulerLimits
fn clone(&self) -> MetadataSchedulerLimits
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 moreimpl Copy for MetadataSchedulerLimits
Auto Trait Implementations§
impl Freeze for MetadataSchedulerLimits
impl RefUnwindSafe for MetadataSchedulerLimits
impl Send for MetadataSchedulerLimits
impl Sync for MetadataSchedulerLimits
impl Unpin for MetadataSchedulerLimits
impl UnsafeUnpin for MetadataSchedulerLimits
impl UnwindSafe for MetadataSchedulerLimits
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