pub struct DName {
pub name: Name,
pub delegation_name: Name,
}Expand description
A Delegation Name resource record, referring all queries for subdomains of this name to another subtree of the DNS.
Fields§
§name: NameThe name this record is at.
delegation_name: NameThe delegation name.
A resolver should use this domain name tree when looking up any further records for
subdomains of [self.name].
Trait Implementations§
Source§impl Ord for DName
impl Ord for DName
Source§impl PartialOrd for DName
impl PartialOrd for DName
impl Eq for DName
impl StructuralPartialEq for DName
Auto Trait Implementations§
impl Freeze for DName
impl RefUnwindSafe for DName
impl Send for DName
impl Sync for DName
impl Unpin for DName
impl UnwindSafe for DName
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,
Source§impl<RR> Record for RRwhere
RR: StaticRecord,
impl<RR> Record for RRwhere
RR: StaticRecord,
Source§fn write_u16_len_prefixed_data(&self, out: &mut Vec<u8>)
fn write_u16_len_prefixed_data(&self, out: &mut Vec<u8>)
Writes the data of this record, prefixed by a u16 length, to the given
Vec.