#[non_exhaustive]pub enum ExternalStoreConfig {
Forward(ForwardConfig),
Default,
}Expand description
Enumeration over store types for external nameservers.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Forward(ForwardConfig)
Forwarding Resolver
Default
This is used by the configuration processing code to represent a deprecated or main-block config without an associated store.
Trait Implementations§
Source§impl Debug for ExternalStoreConfig
impl Debug for ExternalStoreConfig
Source§impl Default for ExternalStoreConfig
impl Default for ExternalStoreConfig
Source§fn default() -> ExternalStoreConfig
fn default() -> ExternalStoreConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ExternalStoreConfig
impl<'de> Deserialize<'de> for ExternalStoreConfig
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
Auto Trait Implementations§
impl Freeze for ExternalStoreConfig
impl RefUnwindSafe for ExternalStoreConfig
impl Send for ExternalStoreConfig
impl Sync for ExternalStoreConfig
impl Unpin for ExternalStoreConfig
impl UnwindSafe for ExternalStoreConfig
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