Method lrs::socket::unix::UnixSockAddr::from_bytes

Creates a Unix socket address from given bytes.

Syntax

impl UnixSockAddr {
    fn from_bytes(bytes: &[u8]) -> Result<&UnixSockAddr, Errno>
}

Arguments

NameDescription
bytes

The bytes that contain the socket address.