revpfw3/src/packet.rs

11 lines
214 B
Rust

use enum_ordinalize::Ordinalize;
#[derive(Debug, PartialEq, Eq, Ordinalize)]
pub(crate) enum PacketType {
NewClient,
CloseClient,
KeepAlive,
ClientData,
ServerData,
ClientExceededBuffer,
}