pub trait PacketHandler<P: PacketReadable + Send + Sync>: Sized + Sync + Send {
    fn handle_packet(
        &self,
        connection: Arc<Connection>,
        state: &mut PacketState,
        packet: P
    ); }

Required Methods

Implementors