#[repr(transparent)]
pub struct Ipv4Addr(_);
Expand description

An IPv4 address.

This is equivalent to C’s in_addr.

Implementations

A wildcard IPv4 address.

Binding to this address means binding to all IPv4 addresses.

The IPv4 loopback address.

The IPv4 broadcast address.

Creates a new IPv4 address with the given components.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.