Struct mtop_client::dns::RecordDataAAAA
source · pub struct RecordDataAAAA(/* private fields */);Implementations§
source§impl RecordDataAAAA
impl RecordDataAAAA
pub fn new(addr: Ipv6Addr) -> Self
pub fn addr(&self) -> Ipv6Addr
pub fn size(&self) -> usize
pub fn write_network_bytes<T>(&self, buf: T) -> Result<(), MtopError>where
T: WriteBytesExt,
pub fn read_network_bytes<T>(buf: T) -> Result<Self, MtopError>where
T: ReadBytesExt + Seek,
Trait Implementations§
source§impl Clone for RecordDataAAAA
impl Clone for RecordDataAAAA
source§fn clone(&self) -> RecordDataAAAA
fn clone(&self) -> RecordDataAAAA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for RecordDataAAAA
impl Debug for RecordDataAAAA
source§impl Display for RecordDataAAAA
impl Display for RecordDataAAAA
source§impl PartialEq for RecordDataAAAA
impl PartialEq for RecordDataAAAA
source§fn eq(&self, other: &RecordDataAAAA) -> bool
fn eq(&self, other: &RecordDataAAAA) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Eq for RecordDataAAAA
impl StructuralPartialEq for RecordDataAAAA
Auto Trait Implementations§
impl Freeze for RecordDataAAAA
impl RefUnwindSafe for RecordDataAAAA
impl Send for RecordDataAAAA
impl Sync for RecordDataAAAA
impl Unpin for RecordDataAAAA
impl UnwindSafe for RecordDataAAAA
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§default unsafe fn clone_to_uninit(&self, dst: *mut T)
default unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)