Method lrs::socket::SockAddr::as_mut_unix

Returns the socket address as a mutable Unix socket address.

Syntax

impl SockAddr {
    fn as_mut_unix(&mut self) -> Result<&mut UnixSockAddr, Errno>
}

Remarks

This fails if the address is not a Unix socket address.