pub struct CName {
pub name: Name,
pub canonical_name: Name,
}Expand description
A Canonical Name resource record, referring all queries for this name to another name.
Fields§
§name: NameThe name this record is at.
canonical_name: NameThe canonical name.
A resolver should use this name when looking up any further records for [self.name].
Trait Implementations§
Source§impl Ord for CName
impl Ord for CName
Source§impl PartialOrd for CName
impl PartialOrd for CName
impl Eq for CName
impl StructuralPartialEq for CName
Auto Trait Implementations§
impl Freeze for CName
impl RefUnwindSafe for CName
impl Send for CName
impl Sync for CName
impl Unpin for CName
impl UnwindSafe for CName
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.