pub struct PoolOptions {
pub capacity: usize,
pub recent_probe_ttl_secs: u64,
pub responsive_capacity: usize,
pub responsive_ttl_secs: u64,
pub low_watermark: usize,
}Expand description
FIFO crawl-pool and responsive-node reservoir limits.
Fields§
§capacity: usizeMaximum queued crawl nodes.
recent_probe_ttl_secs: u64How long a probed endpoint is blocked from readmission, in seconds.
responsive_capacity: usizeMaximum nodes retained for replies and revisit traffic.
responsive_ttl_secs: u64Responsive-node lifetime in seconds.
low_watermark: usizePool size below which bootstrap is considered.
Trait Implementations§
Source§impl Clone for PoolOptions
impl Clone for PoolOptions
Source§fn clone(&self) -> PoolOptions
fn clone(&self) -> PoolOptions
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 PoolOptions
impl Debug for PoolOptions
Auto Trait Implementations§
impl Freeze for PoolOptions
impl RefUnwindSafe for PoolOptions
impl Send for PoolOptions
impl Sync for PoolOptions
impl Unpin for PoolOptions
impl UnsafeUnpin for PoolOptions
impl UnwindSafe for PoolOptions
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