pub struct ProxyManager { /* private fields */ }Implementations§
Source§impl ProxyManager
impl ProxyManager
pub fn new(config: Option<ProxyConfig>) -> Self
pub fn from_env() -> Self
pub fn get_proxy_for_url(&self, url: &str) -> Option<String>
pub fn config(&self) -> Option<&ProxyConfig>
Auto Trait Implementations§
impl Freeze for ProxyManager
impl RefUnwindSafe for ProxyManager
impl Send for ProxyManager
impl Sync for ProxyManager
impl Unpin for ProxyManager
impl UnsafeUnpin for ProxyManager
impl UnwindSafe for ProxyManager
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