pub struct ClientPool { /* private fields */ }Expand description
A cache of reqwest::Clients that differ only in TLS posture and the
DNS-layer guard filter. Every client follows no redirects (the loop
does) and shares the pool’s cookie jar, if it has one.
Implementations§
Source§impl ClientPool
impl ClientPool
Sourcepub fn standalone(ignore_https: bool) -> Self
pub fn standalone(ignore_https: bool) -> Self
A standalone pool with its own reqwest cookie jar.
Trait Implementations§
Source§impl Clone for ClientPool
impl Clone for ClientPool
Source§fn clone(&self) -> ClientPool
fn clone(&self) -> ClientPool
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 !RefUnwindSafe for ClientPool
impl !UnwindSafe for ClientPool
impl Freeze for ClientPool
impl Send for ClientPool
impl Sync for ClientPool
impl Unpin for ClientPool
impl UnsafeUnpin for ClientPool
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