An Ipv6 socket address.
struct Ipv6SockAddr {
/* private fields */
}| Name | Description |
|---|---|
| from_addr_port | Creates a new Ipv6 socket address from an address and a port. |
| from_bytes | Creates an Ipv6 address from given bytes. |
| from_bytes_unchecked | Creates an Ipv6 address from given bytes without validating the contents. |
| from_mut_bytes | Creates a mutable Ipv6 address from given bytes. |
| from_mut_bytes_unchecked | Creates a mutable Ipv6 address from given bytes without validating the contents. |
| Receiver | Name | Description |
|---|---|---|
&self | addr | Returns the Ipv6 address of an Ipv6 socket address. |
&self | flow_label | Returns the flow label of an Ipv6 socket address. |
&self | port | Returns the port of an Ipv6 socket address. |
&self | scope_id | Returns the scope id of an Ipv6 socket address. |
&mut self | set_addr | Sets the Ipv6 address of an Ipv6 socket address. |
&mut self | set_flow_label | Sets the flow label of an Ipv6 socket address. |
&mut self | set_port | Sets the port of an Ipv6 socket address. |
&mut self | set_scope_id | Sets the scope id of an Ipv6 socket address. |
| Name | Description |
|---|---|
| Debug | Objects that can be formatted in a "debug" form. |