pub enum ProxyOverride {
Inherit,
Direct,
}Expand description
Proxy override for a specific request.
Controls whether a request inherits the client-level proxy, bypasses the proxy entirely, or uses a specific proxy configuration.
Variants§
Inherit
Inherit the client-level proxy configuration (default).
Direct
Send the request directly, bypassing any client proxy.
Trait Implementations§
Source§impl Clone for ProxyOverride
impl Clone for ProxyOverride
Source§impl Debug for ProxyOverride
impl Debug for ProxyOverride
Auto Trait Implementations§
impl Freeze for ProxyOverride
impl RefUnwindSafe for ProxyOverride
impl Send for ProxyOverride
impl Sync for ProxyOverride
impl Unpin for ProxyOverride
impl UnsafeUnpin for ProxyOverride
impl UnwindSafe for ProxyOverride
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