Struct resolv::record::A [] [src]

pub struct A {
    pub address: Ipv4Addr,
}

Fields

address: Ipv4Addr

Trait Implementations

impl Clone for A
[src]

fn clone(&self) -> A

Returns a copy of the value. Read more

fn clone_from(&mut self, source: &Self)
1.0.0

Performs copy-assignment from source. Read more

impl Debug for A
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result

Formats the value using the given formatter.

impl RecordData for A
[src]

fn get_record_type() -> RecordType

Get type of record

fn extract(_msg: &mut Message, rr: &Rr) -> Result<AError>

Convert from low level resource record. For internal use.