Closed elfenpiff closed 4 months ago
Currently, the ServiceName does not implement Ord and can therefore not be used in BTreeMap.
ServiceName
Ord
BTreeMap
Implement Ord and PartialOrd for FixedByteString and then implement it in ServiceName via the derive macro.
PartialOrd
FixedByteString
(Code) Example Of Cumbersome API
Currently, the
ServiceName
does not implementOrd
and can therefore not be used inBTreeMap
.Improvement Suggestion
Implement
Ord
andPartialOrd
forFixedByteString
and then implement it inServiceName
via the derive macro.