Method lrs::socket::ip::Ipv4SockAddr::from_mut_bytes

Creates a mutable Ipv4 socket address from given bytes.

Syntax

impl Ipv4SockAddr {
    fn from_mut_bytes(bytes: &mut [u8]) -> Result<&mut Ipv4SockAddr, Errno>
}

Arguments

NameDescription
bytes

The bytes that contain the socket address.