pub enum LocalResolutionResult {
Done {
resolved: ResolvedRecord,
},
Partial {
rrs: Vec<ResourceRecord>,
},
Delegation {
rrs: Vec<ResourceRecord>,
soa_rr: Option<ResourceRecord>,
delegation: Nameservers,
},
CNAME {
rrs: Vec<ResourceRecord>,
cname_question: Question,
},
}
Expand description
Result of resolving a name using only zones and cache.
Variants§
Trait Implementations§
Source§impl Clone for LocalResolutionResult
impl Clone for LocalResolutionResult
Source§fn clone(&self) -> LocalResolutionResult
fn clone(&self) -> LocalResolutionResult
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 LocalResolutionResult
impl Debug for LocalResolutionResult
Source§impl From<LocalResolutionResult> for ResolvedRecord
impl From<LocalResolutionResult> for ResolvedRecord
Source§fn from(lsr: LocalResolutionResult) -> Self
fn from(lsr: LocalResolutionResult) -> Self
Converts to this type from the input type.
Source§impl Ord for LocalResolutionResult
impl Ord for LocalResolutionResult
Source§fn cmp(&self, other: &LocalResolutionResult) -> Ordering
fn cmp(&self, other: &LocalResolutionResult) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for LocalResolutionResult
impl PartialEq for LocalResolutionResult
Source§impl PartialOrd for LocalResolutionResult
impl PartialOrd for LocalResolutionResult
impl Eq for LocalResolutionResult
impl StructuralPartialEq for LocalResolutionResult
Auto Trait Implementations§
impl !Freeze for LocalResolutionResult
impl RefUnwindSafe for LocalResolutionResult
impl Send for LocalResolutionResult
impl Sync for LocalResolutionResult
impl Unpin for LocalResolutionResult
impl UnwindSafe for LocalResolutionResult
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.