rustbus/wire.rs
1//! Everything that deals with converting from/to raw bytes. You probably only need the various wrapper types.
2
3pub mod errors;
4pub mod marshal;
5pub mod unmarshal;
6pub mod util;
7pub mod validate_raw;
8pub mod variant_macros;
9
10mod wrapper_types;
11pub use wrapper_types::unixfd::UnixFd;
12pub use wrapper_types::ObjectPath;
13pub use wrapper_types::SignatureWrapper;
14
15/// The different header fields a message may or maynot have
16#[derive(Debug)]
17pub enum HeaderField {
18 Path(String),
19 Interface(String),
20 Member(String),
21 ErrorName(String),
22 ReplySerial(u32),
23 Destination(String),
24 Sender(String),
25 Signature(String),
26 UnixFds(u32),
27}