pub enum RequestProxyMode {
UseSystemProxy,
NoProxy,
UseCustomProxy {
addr: String,
},
}
Expand description
Proxy mode of operation for requests
Variants§
UseSystemProxy
System proxy will be used
NoProxy
All proxies disabled
UseCustomProxy
Use custom proxy
Auto Trait Implementations§
impl Freeze for RequestProxyMode
impl RefUnwindSafe for RequestProxyMode
impl Send for RequestProxyMode
impl Sync for RequestProxyMode
impl Unpin for RequestProxyMode
impl UnwindSafe for RequestProxyMode
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