eclipse-iceoryx / iceoryx2

Eclipse iceoryx2™ - true zero-copy inter-process-communication in pure Rust
https://iceoryx.io
Apache License 2.0
449 stars 22 forks source link

Implement `Ord` so that `ServiceName` can be used in a `BTreeMap` #110

Closed elfenpiff closed 4 months ago

elfenpiff commented 4 months ago

(Code) Example Of Cumbersome API

Currently, the ServiceName does not implement Ord and can therefore not be used in BTreeMap.

Improvement Suggestion

Implement Ord and PartialOrd for FixedByteString and then implement it in ServiceName via the derive macro.