Trait dbus_bytestream::marshal::Marshal
[-] [+]
[src]
pub trait Marshal {
fn dbus_encode(&self, buf: &mut Vec<u8>) -> usize;
fn get_type(&self) -> String;
}
Required Methods
fn dbus_encode(&self, buf: &mut Vec<u8>) -> usize
Encodes itself into buf, and returns the number of bytes written excluding leading padding
fn get_type(&self) -> String
Returns the D-Bus type signature for this object
Implementors
impl Marshal for u8impl Marshal for boolimpl Marshal for i16impl Marshal for u16impl Marshal for i32impl Marshal for u32impl Marshal for i64impl Marshal for u64impl Marshal for f64impl<'a> Marshal for &'a strimpl<'a> Marshal for Stringimpl Marshal for Pathimpl Marshal for Signatureimpl Marshal for Structimpl<T: Marshal> Marshal for Vec<T>impl<K, V> Marshal for HashMap<K, V> where K: Clone + Hash + Eq + BasicMarshal, V: Clone + Marshalimpl Marshal for Variantimpl Marshal for BasicValueimpl Marshal for Valueimpl Marshal for HeaderFieldimpl Marshal for Message