#[non_exhaustive]pub enum ServerStoreConfig {
File(FileConfig),
Sqlite(SqliteConfig),
Default,
}Expand description
Enumeration over store types for secondary 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.
File(FileConfig)
File based configuration
Sqlite(SqliteConfig)
Sqlite based configuration file
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 ServerStoreConfig
impl Debug for ServerStoreConfig
Source§impl Default for ServerStoreConfig
impl Default for ServerStoreConfig
Source§fn default() -> ServerStoreConfig
fn default() -> ServerStoreConfig
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for ServerStoreConfig
impl<'de> Deserialize<'de> for ServerStoreConfig
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 ServerStoreConfig
impl RefUnwindSafe for ServerStoreConfig
impl Send for ServerStoreConfig
impl Sync for ServerStoreConfig
impl Unpin for ServerStoreConfig
impl UnwindSafe for ServerStoreConfig
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