pub struct PacketBuilder { // } impl PacketBuilder { pub fn builder(device_id: u64, msg: &[u8]) -> Self { Self {} } pub fn finalize(self, msg_type: u8) -> Vec { todo!() } }