pub trait ToIpv4Address { // Required method fn ipv4(&self) -> Result<Ipv4Addr>; }
Trait for converting various types into an IPv4 address.
Attempts to convert the implementing type into an Ipv4Addr. Returns the IPv4 address on success or an error on failure.
Ipv4Addr