Skip to content

feat: implement more traits for header types#138

Merged
JulianSchmid merged 2 commits intoJulianSchmid:masterfrom
thomaseizinger:chore/header-traits
Mar 6, 2026
Merged

feat: implement more traits for header types#138
JulianSchmid merged 2 commits intoJulianSchmid:masterfrom
thomaseizinger:chore/header-traits

Conversation

@thomaseizinger
Copy link
Contributor

This implements a few more std traits for the IPv4 and IPv6 header types which allows them to be used as keys in e.g. BTreeMaps as well as creating bit-wise copies of them.

@JulianSchmid
Copy link
Owner

I removed the copy trait as I would like to keep everything that is exceeding the size of a register as an explicit clone.

@JulianSchmid JulianSchmid force-pushed the chore/header-traits branch from f244427 to efb66e3 Compare March 6, 2026 18:42
@JulianSchmid JulianSchmid merged commit 07f41cb into JulianSchmid:master Mar 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants