A Unix socket address.
struct UnixSockAddr {
/* private fields */
}| Name | Description |
|---|---|
| from_abstract | Creates a new abstract Unix socket address. |
| from_bytes | Creates a Unix socket address from given bytes. |
| from_bytes_unchecked | Creates a Unix socket address from given bytes without validation. |
| from_mut_bytes | Creates a mutable Unix socket address from given bytes. |
| from_mut_bytes_unchecked | Creates a mutable Unix socket address from given bytes without validation. |
| from_path | Creates a new path Unix socket address. |
| from_unnamed | Creates a new unnamed Unix socket address. |
| Receiver | Name | Description |
|---|---|---|
&self | addr_type | Returns the address type of the socket address. |
&self | as_abstract | Returns the abstract address of an abstract Unix socket address. |
&mut self | as_mut_abstract | Returns the mutable abstract address of an abstract Unix socket address. |
&mut self | as_mut_path | Returns the mutable path of a path Unix socket address. |
&self | as_path | Returns the path of a path Unix socket address. |
| Name | Description |
|---|---|
| Debug | Objects that can be formatted in a "debug" form. |