Function bdrck::net::increment_ip
source · pub fn increment_ip(ip: IpAddr) -> Option<IpAddr>
Expand description
Returns the IP address which immediately follows the given IP address. If the increment overflowed (i.e., the given input IP was already the largest possible IP address), None is returned instead.