pub enum DialMode {
Ip(IpAddr),
Ace {
host: String,
ip: Option<IpAddr>,
},
}Expand description
The mode with which to connect to the control plane.
Variants§
Ip(IpAddr)
Connect directly via the indicated IP address (do not resolve using DNS).
Ace
Connect to control over HTTPS using the proxy CONNECT method via the selected host.
Trait Implementations§
impl Eq for DialMode
Source§impl Ord for DialMode
impl Ord for DialMode
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialOrd for DialMode
impl PartialOrd for DialMode
impl StructuralPartialEq for DialMode
Auto Trait Implementations§
impl Freeze for DialMode
impl RefUnwindSafe for DialMode
impl Send for DialMode
impl Sync for DialMode
impl Unpin for DialMode
impl UnsafeUnpin for DialMode
impl UnwindSafe for DialMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.