Module prelude

Source

Re-exports§

pub use super::message_group;

Macros§

declare_meta

Structs§

Array
Inflated version of a length-specified array with zero-copy iterator access.
ArrayIter
Array Iterator for values of type T.
BufWriter
EncodeTarget
LString
A length-prefixed string.
Length
PhantomData
Zero-sized type used to mark things that “act like” they own a T.
Rest
Represents the remainder of data in a message.
StructBuffer
A buffer that accumulates bytes of sized structs and feeds them to provided sink function when messages are complete. This buffer handles partial messages and multiple messages in a single push.
StructField
StructFieldComputed
StructFieldMeta
A struct that contains metadata about a field’s type.
StructFields
Uuid
A Universally Unique Identifier (UUID).
ZTArray
Inflated version of a zero-terminated array with zero-copy iterator access.
ZTArrayIter
ZTArray Iterator for values of type T.
ZTString
A zero-terminated string.

Enums§

Encoded
An encoded row value.
ParseError

Traits§

DataType
All data types must implement this trait. This allows for encoding and decoding of the data type to byte buffers.
DataTypeFixedSize
Implemented for all data types that have a fixed size.
EnumMeta
A trait for enums that describes some information.
StructAttributeFieldCount
A trait implemented for all structs with a count of fields.
StructAttributeFixedSize
A trait implemented for all structs with a boolean determining whether they are fixed size.
StructAttributeHasLengthField
A trait implemented for all structs with a boolean determining whether they have a length field.
StructLength
Implemented for all generated structs that have a [meta::Length] field at a fixed offset.
StructMeta
A trait for structs that describes their fields, containing some associated constants. Note that only FIELDS is provided. The remainder of the associated constants are computed from FIELDS.