Crate protocol [] [src]

Simple packet-based protocol definitions in Rust.

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

Reexports

pub use self::types::{Type, Integer, Array, String, ByteOrder};
pub use self::error::Error;
pub use self::packet::Packet;

Modules

error
packet
types
wire

Macros

define_composite_type

Defines a type built out of other types.

define_middleware_pipeline
define_packet
define_packet_kind

Defines a packet kind enum.

implement_composite_type

Implements Type for some struct.