pub enum DnsRecordData<'a> {
A(Ipv4Address),
Aaaa(Ipv6Address),
Cname(&'a [u8]),
Other(Type, &'a [u8]),
}Variants§
Implementations§
Source§impl<'a> RecordData<'a>
impl<'a> RecordData<'a>
Trait Implementations§
Source§impl<'a> Debug for RecordData<'a>
impl<'a> Debug for RecordData<'a>
Source§impl<'a> PartialEq for RecordData<'a>
impl<'a> PartialEq for RecordData<'a>
impl<'a> Eq for RecordData<'a>
impl<'a> StructuralPartialEq for RecordData<'a>
Auto Trait Implementations§
impl<'a> Freeze for RecordData<'a>
impl<'a> RefUnwindSafe for RecordData<'a>
impl<'a> Send for RecordData<'a>
impl<'a> Sync for RecordData<'a>
impl<'a> Unpin for RecordData<'a>
impl<'a> UnwindSafe for RecordData<'a>
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