Module unmarshal

Source
Expand description

All things relevant to unmarshalling content from raw bytes

  • base and container are for the Param approach that map dbus concepts to enums/structs
  • traits is for the trait based approach
  • iter is an experimental approach to an libdbus-like iterator

Modules§

base
Unmarshal base params from raw bytes
container
Unmarshal container params from raw bytes
iter
This is a working module to parse a dbus message. It is currently not used in rustbus but it could be in the future. This was more or less a test to see how well/bad this would work out to be.
traits
Provides the Unmarshal trait and the implementations for the base types

Structs§

Header
UnmarshalContext

Enums§

Error

Constants§

HEADER_LEN

Functions§

unmarshal_body
unmarshal_dynamic_header
unmarshal_header
unmarshal_next_message

Type Aliases§

UnmarshalResult