pub trait Type: Debug + Writeable { fn type_id(&self) -> u16; }
Defines a type identifier for sending messages over the wire.
Messages implementing this trait specify a type and must be Writeable.
Writeable
Returns the type identifying the message payload.