mirror of
https://git.mentality.rip/numas13/xash3d-master.git
synced 2025-01-22 04:44:31 +00:00
master: fix compile error
This commit is contained in:
parent
14aaacc453
commit
00233d3a10
@ -27,7 +27,7 @@ use xash3d_protocol::{
|
|||||||
server,
|
server,
|
||||||
server::Region,
|
server::Region,
|
||||||
wrappers::Str,
|
wrappers::Str,
|
||||||
Error as ProtocolError, ServerInfo,
|
Error as ProtocolError,
|
||||||
};
|
};
|
||||||
|
|
||||||
use crate::{
|
use crate::{
|
||||||
@ -35,6 +35,8 @@ use crate::{
|
|||||||
stats::Stats,
|
stats::Stats,
|
||||||
};
|
};
|
||||||
|
|
||||||
|
type ServerInfo = xash3d_protocol::ServerInfo<Box<[u8]>>;
|
||||||
|
|
||||||
pub trait AddrExt: Sized + Eq + Hash + Display + Copy + ToSocketAddrs + ServerAddress {
|
pub trait AddrExt: Sized + Eq + Hash + Display + Copy + ToSocketAddrs + ServerAddress {
|
||||||
type Ip: Eq + Hash + Display + Copy + FromStr;
|
type Ip: Eq + Hash + Display + Copy + FromStr;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user