imdl 0.1.16

📦 A 40' shipping container for the internet
Documentation
1
2
3
4
5
6
7
8
9
use super::Response;

pub(crate) trait Request {
  type Response: Response;
  fn serialize(&self) -> Vec<u8>;

  fn transaction_id(&self) -> u32;
  fn action(&self) -> u32;
}