renames, add documentation headers
This commit is contained in:
parent
9dc13861df
commit
df8c1249c4
9 changed files with 175 additions and 21 deletions
|
@ -1,8 +1,11 @@
|
|||
/// A raw header. Should probably not be used directly.
|
||||
#[derive(Debug)]
|
||||
pub struct Header(pub u16, pub u16, pub u16, pub u16, pub u16);
|
||||
|
||||
/// The raw payload. Should probably not be used directly.
|
||||
pub type Payload = Vec<u8>;
|
||||
|
||||
/// The raw packet. Should probably not be used directly.
|
||||
#[derive(Debug)]
|
||||
pub struct Packet(pub Header, pub Payload);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue