mix_peer: adding a to_string() definition
This commit is contained in:
@@ -24,4 +24,8 @@ impl MixPeer {
|
||||
stream.write_all(&bytes).await?;
|
||||
Ok(())
|
||||
}
|
||||
|
||||
pub fn to_string(&self) -> String {
|
||||
self.connection.to_string()
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user