Method lrs::socket::unix::UnixSockAddr::from_mut_bytes_unchecked

Creates a mutable Unix socket address from given bytes without validation.

Syntax

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

Arguments

NameDescription
bytes

The bytes that contain the socket address.