pub fn family<T: InetOrCidr + SingleValue, addr>(
addr: addr
) -> family<T, <addr as AsExpression<T>>::Expression>where
addr: AsExpression<T>,
Expand description
Returns the address’s family: 4 for IPv4, 6 for IPv6.
pub fn family<T: InetOrCidr + SingleValue, addr>(
addr: addr
) -> family<T, <addr as AsExpression<T>>::Expression>where
addr: AsExpression<T>,
Returns the address’s family: 4 for IPv4, 6 for IPv6.