-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Closed
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the RFC.Relevant to the library API team, which will review and decide on the RFC.
Description
IpAddr
should have at least the following methods:
/// Returns `true` if `self` is one of the two unspecified addresses
fn is_unspecified(&self) -> bool;
/// Returns `true` if `self` is a loopback address such as `127.0.0.1` or `::1`
fn is_loopback(&self) -> bool;
Edit: is_multicast
and to_ipv6_{compatible,mapped}
would make sense aswell although I have no need for them.
eugene-bulkin
Metadata
Metadata
Assignees
Labels
T-libs-apiRelevant to the library API team, which will review and decide on the RFC.Relevant to the library API team, which will review and decide on the RFC.