pub struct ProxyStats {
pub total: usize,
pub working: usize,
pub by_anonymity: HashMap<AnonymityLevel, usize>,
pub by_type: HashMap<ProxyType, usize>,
pub by_country: HashMap<String, usize>,
pub avg_latency: Option<u128>,
}Expand description
Statistics about proxies managed by ProxyManager
Fields§
§total: usizeTotal number of proxies
working: usizeNumber of working proxies (successfully judged)
by_anonymity: HashMap<AnonymityLevel, usize>Number of proxies by anonymity level
by_type: HashMap<ProxyType, usize>Number of proxies by type
by_country: HashMap<String, usize>Number of proxies by country
avg_latency: Option<u128>Average latency of working proxies
Trait Implementations§
Source§impl Clone for ProxyStats
impl Clone for ProxyStats
Source§fn clone(&self) -> ProxyStats
fn clone(&self) -> ProxyStats
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 ProxyStats
impl RefUnwindSafe for ProxyStats
impl Send for ProxyStats
impl Sync for ProxyStats
impl Unpin for ProxyStats
impl UnsafeUnpin for ProxyStats
impl UnwindSafe for ProxyStats
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