Struct aversion::util::TinyHeader [−][src]
Expand description
A header that can be serialized into a fixed-size buffer.
This header does not use serde; it serializes to a binary (big-endian) array of 4 bytes.
Fields
msg_id: u16
The message id.
msg_ver: u16
The message version.
Implementations
Deserialize a header from a Read
stream.
Serialize a header into a Write
stream.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for TinyHeader
impl Send for TinyHeader
impl Sync for TinyHeader
impl Unpin for TinyHeader
impl UnwindSafe for TinyHeader
Blanket Implementations
Mutably borrows from an owned value. Read more