Enum getip::gip::ProviderMethod [−][src]
pub enum ProviderMethod {
Plain,
Json,
Dns,
}Expand description
Method with which a global Provider retrieves addresses.
Variants
Plain text HTTP request.
HTTP JSON response.
DNS queries.
Trait Implementations
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
Auto Trait Implementations
impl RefUnwindSafe for ProviderMethod
impl Send for ProviderMethod
impl Sync for ProviderMethod
impl Unpin for ProviderMethod
impl UnwindSafe for ProviderMethod
Blanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V
Attaches the provided Subscriber to this type, returning a
WithDispatch wrapper. Read more
Attaches the current default Subscriber to this type, returning a
WithDispatch wrapper. Read more