pub enum AuthoritativeAnswer {
NonAuthoritative,
Authoritative,
}Expand description
Flag to indicate if the answer is authoritative
Variants
NonAuthoritative
The answer is not authoritative
Authoritative
The answer is authoritative
Trait Implementations
sourceimpl Clone for AuthoritativeAnswer
impl Clone for AuthoritativeAnswer
sourcefn clone(&self) -> AuthoritativeAnswer
fn clone(&self) -> AuthoritativeAnswer
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for AuthoritativeAnswer
impl Debug for AuthoritativeAnswer
sourceimpl From<AuthoritativeAnswer> for u16
impl From<AuthoritativeAnswer> for u16
sourcefn from(flag: AuthoritativeAnswer) -> Self
fn from(flag: AuthoritativeAnswer) -> Self
Converts to this type from the input type.
sourceimpl From<u16> for AuthoritativeAnswer
impl From<u16> for AuthoritativeAnswer
impl Copy for AuthoritativeAnswer
impl Eq for AuthoritativeAnswer
impl StructuralEq for AuthoritativeAnswer
impl StructuralPartialEq for AuthoritativeAnswer
Auto Trait Implementations
impl RefUnwindSafe for AuthoritativeAnswer
impl Send for AuthoritativeAnswer
impl Sync for AuthoritativeAnswer
impl Unpin for AuthoritativeAnswer
impl UnwindSafe for AuthoritativeAnswer
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more