pub trait Packet: Writable + Readable { fn id() -> i32; fn bound() -> Bound; fn state() -> State; fn protocol() -> i32; }