Method lrs::socket::ip::Ipv4Addr::from_be

Creates a new Ipv4 address from a 32 bit integer in network byte order.

Syntax

impl Ipv4Addr {
    fn from_be(addr: u32) -> Ipv4Addr
}

Arguments

NameDescription
addr

The address in network byte order.