Replace specific networking trait bounds with general Networked trait
This commit is contained in:
parent
0f2248a2cb
commit
fee5fb3c95
2 changed files with 44 additions and 10 deletions
|
|
@ -10,7 +10,9 @@ mod thread;
|
|||
|
||||
#[allow(unused_imports)]
|
||||
pub mod prelude {
|
||||
pub use super::distribution::distribution_plugin;
|
||||
pub use super::distribution::{
|
||||
NetworkDecodable, NetworkEncodable, Networked, distribution_plugin,
|
||||
};
|
||||
pub use super::packet::{InboundPacket, OutboundPacket, Packet};
|
||||
pub use super::peer::{Peer, PeerID, PeerReceiveTiming, PeerSendTiming, PotentialPeers};
|
||||
pub use super::plugin::NetIOPlugin;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue