mix_peer: converting address to strongly typed socket address

This commit is contained in:
Dave Hrycyszyn
2019-12-16 16:25:29 +00:00
parent 37a493439d
commit c192afe9eb
+2 -1
View File
@@ -1,8 +1,9 @@
use std::error::Error;
use std::net::{Ipv4Addr, SocketAddrV4};
use tokio::prelude::*;
pub struct MixPeer {
connection: String,
connection: SocketAddrV4,
}
impl MixPeer {