1 2 3 4 5 6 7 8 9 10 11
use crate::Packet; /// An Event that can be emitted by the Server Socket #[derive(Debug)] pub enum SocketEvent { /// An event containing a new packet received from a Client Packet(Packet), /// A Tick event. The duration between Ticks is defined in the Config given /// to the Server Socket Tick, }