Module rustbus::wire

source ·
Expand description

Everything that deals with converting from/to raw bytes. You probably only need the various wrapper types.

Modules

  • All things relevant to marshalling content into raw bytes
  • All things relevant to unmarshalling content from raw bytes
  • Utility functions used often in many places
  • Check a raw message (part) for validity given a signature

Structs

  • Wraps a String or a &str or whatever implements AsRef and checks at creation, that it is a valid ObjectPath
  • Wraps a String or a &str or whatever implements AsRef and checks at creation, that it is a valid Signature
  • UnixFd is a wrapper around RawFd, to ensure that opened FDs are closed again, while still having the possibility of having multiple references to it.

Enums

  • The different header fields a message may or maynot have