Enum cdns_rs::a_sync::query::QueryMode [−][src]
pub enum QueryMode {
DefaultMode,
ForceNxQueryAll,
ForceQueryAll,
}
Variants
In defualt mode, on the first successfull response, the library returns the result to main program. In case of NXDOMAIN error, it stops returning error ignoring the rest resolvers.
In ForceNxQueryAll
mode, in case of NXDOMAIN, the library will try to query the rest
nameservers, if any
In ForceQueryAll
mode, the library will query all available nameservers and return all results.
In case of error, the result will also be returned.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for QueryMode
impl UnwindSafe for QueryMode
Blanket Implementations
Mutably borrows from an owned value. Read more