pub fn increment_in(&self, ip: IpAddr, strict: bool) -> Option<IpAddr> {
        let next_ip = match increment_ip(ip) {
            None => return None,
            Some(ip) => ip,
        };
        match self.contains(next_ip, strict) {
            false => None,
            true => Some(next_ip),
        }
    }
/// Increment the given IP address as if with increment_ip(), but returning
/// None if the resulting IP address does not lie within this network. The
/// "strict" parameter behaves as IpNet::contains() describes.
Increment the given IP address as if with increment_ip(), but returning
None if the resulting IP address does not lie within this network. The
"strict" parameter behaves as IpNet::contains() describes.
Increment the given IP address as if with increment_ip () but returning None if the resulting IP address does not lie within this network . The " strict " parameter behaves as IpNet :: contains () describes .
pub fn increment_in(&self, ip: IpAddr, strict: bool) -> Option<IpAddr> {
        let next_ip = match increment_ip(ip) {
            None => return None,
            Some(ip) => ip,
        };
        match self.contains(next_ip, strict) {
            false => None,
            true => Some(next_ip),
        }
    }
pub fn increment_in ( & self , ip : IpAddr , strict : bool ) -> Option < IpAddr > { let next_ip = match increment_ip ( ip ) { None => return None , Some ( ip ) => ip , } ; match self . contains ( next_ip , strict ) { false => None , true => Some ( next_ip ) , } }
Increment the given IP address as if with increment_ip(), but returning
None if the resulting IP address does not lie within this network.
Increment the given IP address as if with increment_ip () but returning None if the resulting IP address does not lie within this network .
&self
ip
IpAddr
strict
bool
&self
ip
IpAddr
strict
bool