pub struct A {
pub name: Name,
pub address: [u8; 4],
}Expand description
An IPv4 Address resource record
Fields§
§name: NameThe name this record is at.
address: [u8; 4]The bytes of the IPv4 address.
Trait Implementations§
Source§impl Ord for A
impl Ord for A
Source§impl PartialOrd for A
impl PartialOrd for A
impl Eq for A
impl StructuralPartialEq for A
Auto Trait Implementations§
impl Freeze for A
impl RefUnwindSafe for A
impl Send for A
impl Sync for A
impl Unpin for A
impl UnwindSafe for 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
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.