[][src]Crate rust_lcm_codec

Runtime support for LCM serialization and deserialization in Rust

Structs

BufferReader

StreamingReader backend for a byte slice

BufferReaderError

The BufferReader had a problem. The only problem worth mentioning is that it did not have enough bytes to complete a requested operations.

BufferWriter

Writer backend for a byte slice

BufferWriterError

The BufferWriter had a problem. The only problem worth mentioning is that it did not have enough bytes to complete a requested operations.

Enums

CodecError

Catch-all error for anything that can go wrong encoding or decoding an LCM message.

DecodeError

The errors that can occur when decoding an LCM message.

DecodeFingerprintError

The errors that can occur when decoding the LCM type hash / fingerprint for a message.

DecodeValueError

The errors that can occur when decoding a value in the body of an LCM message.

EncodeError

The errors that can occur when encoding an LCM message.

EncodeFingerprintError

The errors that can occur when encoding the LCM type hash / fingerprint for a message.

EncodeValueError

The errors that can occur when encoding a value in the body of an LCM message.

Traits

SerializeValue

Value serialization helper trait, oriented towards primitives.

StreamingReader

Reader backend trait

StreamingWriter

Writer backend trait

Functions

read_str_value

Read a view of a string from a StreamingReader using LCM's convention of encoding strings.

write_str_value

Write a string to a StreamingWriter using LCM's convention of encoding strings.