diesel::pg::expression::functions

Function masklen

Source
pub fn masklen<T: InetOrCidr + SingleValue, addr>(
    addr: addr,
) -> masklen<T, addr>
where addr: AsExpression<T>,
Available on crate feature postgres_backend only.
Expand description

Returns the netmask length in bits.