added PartialEq restriction on NymTopology for convenience sake

This commit is contained in:
Jedrzej Stuczynski
2020-01-22 12:22:05 +00:00
parent e93e3e0554
commit 566e17719c
+1 -1
View File
@@ -83,7 +83,7 @@ pub enum NymTopologyError {
MissingLayerError(Vec<u64>),
}
pub trait NymTopology: Sized {
pub trait NymTopology: Sized + PartialEq {
fn new(directory_server: String) -> Self;
fn new_from_nodes(
mix_nodes: Vec<MixNode>,