pub enum ProxyAction {
None,
Http {
host: String,
port: u16,
non_cleartext_only: bool,
},
Socks {
host: String,
port: u16,
},
}Expand description
Proxy configuration for the proxy command (sent in response to a
>PROXY: notification, requires --management-query-proxy).
Variants§
Trait Implementations§
Source§impl Clone for ProxyAction
impl Clone for ProxyAction
Source§fn clone(&self) -> ProxyAction
fn clone(&self) -> ProxyAction
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProxyAction
impl Debug for ProxyAction
Source§impl PartialEq for ProxyAction
impl PartialEq for ProxyAction
impl Eq for ProxyAction
impl StructuralPartialEq for ProxyAction
Auto Trait Implementations§
impl Freeze for ProxyAction
impl RefUnwindSafe for ProxyAction
impl Send for ProxyAction
impl Sync for ProxyAction
impl Unpin for ProxyAction
impl UnsafeUnpin for ProxyAction
impl UnwindSafe for ProxyAction
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