use std::hash::Hash; use tokio::io::BufReader; use super::StatusPacket; #[derive(Hash, Clone, Debug)] pub struct ServerboundStatusRequestPacket {} impl ServerboundStatusRequestPacket { pub fn get(self) -> StatusPacket { StatusPacket::ServerboundStatusRequestPacket(self) } pub fn write(&self, _buf: &mut Vec) { panic!("ServerboundStatusRequestPacket::write not implemented") } pub async fn read( _buf: &mut BufReader, ) -> Result { Err("ServerboundStatusRequestPacket::read not implemented".to_string()) } }