Module serde_rosmsg::de [] [src]

Deserialize ROSMSG binary data to a Rust data structure.

Data types supported by ROSMSG are supported as well. This results in the lack of support for:

  • Enums of any type, including Option
  • char, so use one character Strings instead
  • Maps that can't be boiled down to <String, String>

Any methods for blindly identifying structure are not supported, because the data does not contain any type information.

Structs

Deserializer

A structure for deserializing ROSMSG into Rust values.

Functions

from_reader

Deserialize an instance of type T from an IO stream of ROSMSG data.

from_slice

Deserialize an instance of type T from bytes of ROSMSG data.

from_str

Deserialize an instance of type T from a string of ROSMSG data.