kubi/kubi-shared/src/networking/messages.rs

15 lines
380 B
Rust
Raw Normal View History

2023-01-29 20:42:58 -06:00
use rkyv::{Archive, Deserialize, Serialize};
2023-01-30 13:23:00 -06:00
use bytecheck::CheckBytes;
2023-01-29 20:42:58 -06:00
#[derive(Archive, Deserialize, Serialize, Debug, PartialEq)]
2023-01-30 13:23:00 -06:00
#[archive_attr(derive(CheckBytes, Debug))]
2023-01-29 20:42:58 -06:00
pub enum ClientToServerMessage {
Placeholder
}
#[derive(Archive, Deserialize, Serialize, Debug, PartialEq)]
2023-01-30 13:23:00 -06:00
#[archive_attr(derive(CheckBytes, Debug))]
2023-01-29 20:42:58 -06:00
pub enum ServerToClientMessage {
Placeholder
}