pub struct QueueConfig {
pub active_downloads: i32,
pub active_seeds: i32,
pub active_checking: i32,
pub active_limit: i32,
pub dont_count_slow: bool,
pub prefer_seeds: bool,
}Expand description
Named configuration for queue evaluation limits.
Fields§
§active_downloads: i32Maximum number of concurrently active downloading torrents.
active_seeds: i32Maximum number of concurrently active seeding torrents.
active_checking: i32Maximum number of concurrently active hash-checking torrents.
active_limit: i32Maximum total active torrents; negative means unlimited.
dont_count_slow: boolWhen true, torrents below the slow-transfer threshold do not count
toward the active limits.
prefer_seeds: boolWhen true, seeding torrents are allotted slots ahead of downloads.
Trait Implementations§
Source§impl Clone for QueueConfig
impl Clone for QueueConfig
Source§fn clone(&self) -> QueueConfig
fn clone(&self) -> QueueConfig
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 moreAuto Trait Implementations§
impl Freeze for QueueConfig
impl RefUnwindSafe for QueueConfig
impl Send for QueueConfig
impl Sync for QueueConfig
impl Unpin for QueueConfig
impl UnsafeUnpin for QueueConfig
impl UnwindSafe for QueueConfig
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