Function prefix_to_subnet

Source
pub fn prefix_to_subnet(prefix: PrefixLength) -> Result<SubnetMask, String>
Expand description

Calculate the subnet mask from the given prefix length.