pub enum DialPlan {
UseDns,
Plan(Vec<DialCandidate>),
}Expand description
A plan to connect to the control plane, supplied as part of a netmap update.
Variants§
UseDns
Use system DNS to resolve the control plane’s IP address.
Plan(Vec<DialCandidate>)
Use the contained plan to connect to the control plane.
Trait Implementations§
impl Eq for DialPlan
Source§impl From<&ControlDialPlan<'_>> for DialPlan
impl From<&ControlDialPlan<'_>> for DialPlan
Source§fn from(value: &ControlDialPlan<'_>) -> Self
fn from(value: &ControlDialPlan<'_>) -> Self
Converts to this type from the input type.
Source§impl From<ControlDialPlan<'_>> for DialPlan
impl From<ControlDialPlan<'_>> for DialPlan
Source§fn from(value: ControlDialPlan<'_>) -> Self
fn from(value: ControlDialPlan<'_>) -> Self
Converts to this type from the input type.
impl StructuralPartialEq for DialPlan
Auto Trait Implementations§
impl Freeze for DialPlan
impl RefUnwindSafe for DialPlan
impl Send for DialPlan
impl Sync for DialPlan
impl Unpin for DialPlan
impl UnsafeUnpin for DialPlan
impl UnwindSafe for DialPlan
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> 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.