Enum smoltcp::wire::IpAddress [] [src]

pub enum IpAddress {
    Unspecified,
    Ipv4(Ipv4Address),
}

An internetworking address.

Variants

An unspecified address. May be used as a placeholder for storage where the address is not assigned yet.

An IPv4 address.

Methods

impl Address
[src]

Create an address wrapping an IPv4 address with the given octets.

Query whether the address is a valid unicast address.

Query whether the address falls into the "unspecified" range.

Trait Implementations

impl Debug for Address
[src]

Formats the value using the given formatter.

impl PartialEq for Address
[src]

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

This method tests for !=.

impl Eq for Address
[src]

impl PartialOrd for Address
[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 Ord for Address
[src]

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

impl Clone for Address
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Address
[src]

impl Default for Address
[src]

Returns the "default value" for a type. Read more

impl From<Ipv4Address> for Address
[src]

Performs the conversion.

impl Display for Address
[src]

Formats the value using the given formatter.