pub struct AAAA { /* private fields */ }Expand description
Parsed AAAA record rdata.
Implementations§
Source§impl AAAA
impl AAAA
Sourcepub fn try_from_rdata(rdata: &[u8]) -> Result<Self, ParseError>
pub fn try_from_rdata(rdata: &[u8]) -> Result<Self, ParseError>
Parses a 16-byte IPv6 address from rdata.
rdata MUST be exactly 16 bytes (RFC 3596 §2.2). An
oversize slice would previously have been silently truncated.
Trait Implementations§
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 UnsafeUnpin 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