Crate protocol

source ·
Expand description

Simple packet-based protocol definitions in Rust.

  • The packet module deals with defining packets.
  • The wire module deals with transmission of packets.

Modules

Macros

Defines a type built out of other primitives.
Defines a packet kind enum.
Implements Parcel for some struct.

Structs

Copy of CharTryFromError that works in stable rust
An dynamic array type with a custom size prefix type.
The Error type.
A string with a custom size prefix integer type. S - The size prefix type.
Copy of TryFromIntError that works in stable rust

Enums

The kind of an error.

Traits

A value which can be read and written.
Additional methods for Result, for easy interaction with this crate.

Type Definitions

The default byte ordering.