Enum cdns_rs::sync::query::QueryMode[][src]

pub enum QueryMode {
    DefaultMode,
    ForceNxQueryAll,
    ForceQueryAll,
}

Variants

DefaultMode

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.

ForceNxQueryAll

In ForceNxQueryAll mode, in case of NXDOMAIN, the library will try to query the rest nameservers, if any

ForceQueryAll

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.