pub enum ServerOrderingStrategy {
QueryStatistics,
UserProvidedOrder,
}
Expand description
The strategy for establishing the query order of name servers in a pool.
Variants§
QueryStatistics
Servers are ordered based on collected query statistics. The ordering may vary over time.
UserProvidedOrder
The order provided to the resolver is used. The ordering does not vary over time.
Trait Implementations§
source§impl Clone for ServerOrderingStrategy
impl Clone for ServerOrderingStrategy
source§fn clone(&self) -> ServerOrderingStrategy
fn clone(&self) -> ServerOrderingStrategy
Returns a copy 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 ServerOrderingStrategy
impl Debug for ServerOrderingStrategy
source§impl Default for ServerOrderingStrategy
impl Default for ServerOrderingStrategy
source§fn default() -> Self
fn default() -> Self
Returns ServerOrderingStrategy::QueryStatistics
as the default.