pub struct ProxyPoolBuilder { /* private fields */ }Expand description
Proxy pool builder.
Implementations§
Source§impl ProxyPoolBuilder
impl ProxyPoolBuilder
pub fn new(config: PoolConfig) -> Self
pub fn with_tunnels(self, tunnels: Vec<Tunnel>) -> Self
pub fn with_tunnel(self, tunnel: Tunnel) -> Self
pub fn with_ip_providers(self, providers: Vec<IpProvider>) -> Self
pub fn with_direct_proxies(self, proxies: Vec<DirectProxy>) -> Self
pub async fn build(self) -> ProxyPool
Auto Trait Implementations§
impl Freeze for ProxyPoolBuilder
impl RefUnwindSafe for ProxyPoolBuilder
impl Send for ProxyPoolBuilder
impl Sync for ProxyPoolBuilder
impl Unpin for ProxyPoolBuilder
impl UnsafeUnpin for ProxyPoolBuilder
impl UnwindSafe for ProxyPoolBuilder
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