pub fn network<T: InetOrCidr + SingleValue, addr>(
addr: addr,
) -> network<T, addr>where
addr: AsExpression<T>,
Expand description
Returns the network part of the address, zeroing out whatever is to the right of the netmask. (This is equivalent to casting the value to cidr.)