pub struct UniQuery { /* private fields */ }
Expand description
UniQuery
Name’s labels are all Rc, so clone is cheap
Implementations§
source§impl UniQuery
impl UniQuery
pub fn new<N: IntoName>( name: N, record_type: RecordType ) -> ResolverResult<UniQuery>
pub fn name(&self) -> &Name
pub fn record_type(&self) -> RecordType
Trait Implementations§
source§impl From<UniQuery> for MultiQuery
impl From<UniQuery> for MultiQuery
source§fn from(query: UniQuery) -> MultiQuery
fn from(query: UniQuery) -> MultiQuery
Converts to this type from the input type.
source§impl PartialEq for UniQuery
impl PartialEq for UniQuery
impl Eq for UniQuery
impl StructuralPartialEq for UniQuery
Auto Trait Implementations§
impl RefUnwindSafe for UniQuery
impl Send for UniQuery
impl Sync for UniQuery
impl Unpin for UniQuery
impl UnwindSafe for UniQuery
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.