Method lrs::socket::unix::UnixSockAddr::from_bytes_unchecked

Creates a Unix socket address from given bytes without validation.

Syntax

impl UnixSockAddr {
    unsafe fn from_bytes_unchecked(bytes: &[u8]) -> &UnixSockAddr
}

Arguments

NameDescription
bytes

The bytes that contain the socket address.