diesel::pg::expression::dsl

Function hostmask

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

Computes the host mask for the address’s network.