Replace specific networking trait bounds with general Networked trait

This commit is contained in:
Michael Bradley 2025-10-25 21:50:02 -04:00
parent 0f2248a2cb
commit fee5fb3c95
Signed by: MichaelBradley
SSH key fingerprint: SHA256:BKO2eI2LPsCbQS3n3i5SdwZTAIV3F1lHezR07qP+Ob0
2 changed files with 44 additions and 10 deletions

View file

@ -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;