pub struct AAAA {
pub address: Ipv6Addr,
}Expand description
An IPv6 host address
Fields§
§address: Ipv6AddrThe host address
Trait Implementations§
Source§impl Record for AAAA
impl Record for AAAA
Source§fn decode(data: &mut MsgReader<'_>) -> Result<Self, DecodeError>
fn decode(data: &mut MsgReader<'_>) -> Result<Self, DecodeError>
Decodes the
Record from resource rdata.Source§fn encode(&self, data: &mut MsgWriter<'_>) -> Result<(), EncodeError>
fn encode(&self, data: &mut MsgWriter<'_>) -> Result<(), EncodeError>
Encodes the
Record to resource rdata.Source§fn record_type() -> RecordType
fn record_type() -> RecordType
Returns the
RecordType of queries for this record.impl Copy for AAAA
impl Eq for AAAA
impl StructuralPartialEq for AAAA
Auto Trait Implementations§
impl Freeze for AAAA
impl RefUnwindSafe for AAAA
impl Send for AAAA
impl Sync for AAAA
impl Unpin for AAAA
impl UnwindSafe for AAAA
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