Struct nix::sys::socket::UnixAddr [−][src]
pub struct UnixAddr { /* fields omitted */ }
Expand description
A wrapper around sockaddr_un
.
Implementations
Create a new sockaddr_un representing a filesystem path.
If this address represents a filesystem path, return that path.
Returns the addrlen of this socket - offsetof(struct sockaddr_un, sun_path)
Returns a pointer to the raw sockaddr_un
struct
Returns a mutable pointer to the raw sockaddr_un
struct
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for UnixAddr
impl UnwindSafe for UnixAddr
Blanket Implementations
Mutably borrows from an owned value. Read more