pub enum ProviderMethod {
Plain,
Json,
Dns,
}Expand description
Method with which a global Provider retrieves addresses.
Variants§
Trait Implementations§
Source§impl Clone for ProviderMethod
impl Clone for ProviderMethod
Source§fn clone(&self) -> ProviderMethod
fn clone(&self) -> ProviderMethod
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 ProviderMethod
impl Debug for ProviderMethod
Source§impl<'de> Deserialize<'de> for ProviderMethod
impl<'de> Deserialize<'de> for ProviderMethod
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ProviderMethod
impl PartialEq for ProviderMethod
impl Copy for ProviderMethod
impl Eq for ProviderMethod
impl StructuralPartialEq for ProviderMethod
Auto Trait Implementations§
impl Freeze for ProviderMethod
impl RefUnwindSafe for ProviderMethod
impl Send for ProviderMethod
impl Sync for ProviderMethod
impl Unpin for ProviderMethod
impl UnwindSafe for ProviderMethod
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