Struct domain::rdata::rfc1035::A[][src]

pub struct A { /* fields omitted */ }

A record data.

A records convey the IPv4 address of a host. The wire format is the 32 bit IPv4 address in network byte order. The master file format is the usual dotted notation.

The A record type is defined in RFC 1035, section 3.4.1.

Methods

impl A
[src]

Creates a new A record data from an IPv4 address.

Creates a new A record from the IPv4 address components.

Trait Implementations

impl Clone for A
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for A
[src]

Formats the value using the given formatter. Read more

impl Eq for A
[src]

impl Ord for A
[src]

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

impl PartialEq for A
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl PartialOrd for A
[src]

This method returns an ordering between self and other values if one exists. Read more

This method tests less than (for self and other) and is used by the < operator. Read more

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

This method tests greater than (for self and other) and is used by the > operator. Read more

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl RecordData for A
[src]

Returns the record type for this record data instance. Read more

Appends the record data to the end of a composer.

impl<'a> ParsedRecordData<'a> for A
[src]

Parses the record data out of a parser. Read more

impl Display for A
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl Send for A

impl Sync for A