added PartialEq restriction on NymTopology for convenience sake
This commit is contained in:
@@ -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>,
|
||||
|
||||
Reference in New Issue
Block a user