erickt / rust-zmq

Rust zeromq bindings.
Apache License 2.0
886 stars 189 forks source link

[feature] `Hash`able `SocketType` #362

Open bicarlsen opened 1 year ago

bicarlsen commented 1 year ago

It seems like it would be useful to allow SocketType to be hashable so they could be used as keys in HashMaps or other similar collections.

It appears this could be implemented by deriveing Hash.