Add ord for multiaddr
So you can use it in ordering based containers
@@ -36,7 +36,7 @@ static_assertions::const_assert! {
}
/// Representation of a Multiaddr.
-#[derive(PartialEq, Eq, Clone, Hash)]
+#[derive(PartialEq, Eq, PartialOrd, Ord, Clone, Hash)]
pub struct Multiaddr { bytes: Arc<Vec<u8>> }
impl Multiaddr {
