ipnetwork icon indicating copy to clipboard operation
ipnetwork copied to clipboard

Add `IpNetwork::with_netmask_checked` & `Ipv{4,6}Network::with_netmask_checked`

Open MarkusPettersson98 opened this issue 1 year ago • 0 comments

As I promised in https://github.com/achanda/ipnetwork/pull/214, this PR adds the following const constructors:

  • IpNetwork::with_netmask_checked
  • Ipv4Network::with_netmask_checked
  • Ipv6Network::with_netmask_checked

Thanks for showing interest in these PRs, I will start contributing with more broadly useful stuff soon I promise 💜

MarkusPettersson98 avatar Jan 13 '25 19:01 MarkusPettersson98