Struct dbus-rs::Message [-]  [+] [src]

pub struct Message {
    // some fields omitted
}

Methods

impl Message

fn new_method_call(destination: &str, path: &str, iface: &str, method: &str) -> Option<Message>

fn new_signal(path: &str, iface: &str, method: &str) -> Option<Message>

fn new_method_return(m: &Message) -> Option<Message>

fn new_error(m: &Message, error_name: &str, error_message: &str) -> Option<Message>

fn get_items(&mut self) -> Vec<MessageItem>

fn append_items(&mut self, v: &[MessageItem])

fn msg_type(&self) -> MessageType

fn sender(&self) -> Option<String>

fn headers(&self) -> (MessageType, Option<String>, Option<String>, Option<String>)

fn as_result(&mut self) -> Result<&mut Message, Error>

Trait Implementations

impl Drop for Message

fn drop(&mut self)

impl Debug for Message

fn fmt(&self, f: &mut Formatter) -> Result<(), Error>