pub fn prefix_to_subnet(prefix: PrefixLength) -> Result<SubnetMask, String>
Expand description
Calculate the subnet mask from the given prefix length.
pub fn prefix_to_subnet(prefix: PrefixLength) -> Result<SubnetMask, String>
Calculate the subnet mask from the given prefix length.