Closed jjanowsk closed 1 month ago
Add new_assert implementations that can verify prefix length at compile time. That allows users to create const items of IpvXNet type. When called not from a const context it will panic at runtime when prefix length is incorrect.
Add new_assert implementations that can verify prefix length at compile time. That allows users to create const items of IpvXNet type. When called not from a const context it will panic at runtime when prefix length is incorrect.