Browse Source

master: fix compile error

master
Denis Drakhnia 3 months ago
parent
commit
00233d3a10
  1. 4
      master/src/master_server.rs

4
master/src/master_server.rs

@ -27,7 +27,7 @@ use xash3d_protocol::{ @@ -27,7 +27,7 @@ use xash3d_protocol::{
server,
server::Region,
wrappers::Str,
Error as ProtocolError, ServerInfo,
Error as ProtocolError,
};
use crate::{
@ -35,6 +35,8 @@ use crate::{ @@ -35,6 +35,8 @@ use crate::{
stats::Stats,
};
type ServerInfo = xash3d_protocol::ServerInfo<Box<[u8]>>;
pub trait AddrExt: Sized + Eq + Hash + Display + Copy + ToSocketAddrs + ServerAddress {
type Ip: Eq + Hash + Display + Copy + FromStr;

Loading…
Cancel
Save