Struct dbus_message_parser::message::Message [−][src]
pub struct Message { /* fields omitted */ }Expand description
This represents a DBus message.
Implementations
pub fn method_call(
destination: Bus,
object_path: ObjectPath,
interface: Interface,
member: Member
) -> Message
pub fn method_call(
destination: Bus,
object_path: ObjectPath,
interface: Interface,
member: Member
) -> Message
Create a Message object as a MethodCall.
pub fn property_get(
destination: Bus,
object_path: ObjectPath,
interface: Interface,
property: &str
) -> Message
pub fn property_get(
destination: Bus,
object_path: ObjectPath,
interface: Interface,
property: &str
) -> Message
Create a Message to retrieve property value.
pub fn properties_get_all(
destination: Bus,
object_path: ObjectPath,
interface: Interface
) -> Message
pub fn properties_get_all(
destination: Bus,
object_path: ObjectPath,
interface: Interface
) -> Message
Create a Message to retrieve property value.
pub fn property_set(
destination: Bus,
object_path: ObjectPath,
interface: Interface,
property: &str,
value: Value
) -> Message
pub fn property_set(
destination: Bus,
object_path: ObjectPath,
interface: Interface,
property: &str,
value: Value
) -> Message
Create a Message to retrieve property value.
Get the serial number.
Set the serial number.
Get the ReplySerial number, if there is one in the header field.
Get the Path, if there is one in the header field.
It is true if the message contains an Interface in the header fields.
Get the Interface, if there is one in the header fields.
It is true if the message contains an Member in the header fields.
Get the Member, if there is one in the header field.
It is true if the message contains an ErrorName in the header fields.
Get the ErrorName, if there is one in the header field.
Get the Sender, if there is one in the header field.
Get the Destination, if there is one in the header field.
Get the Signature, if there is one in the header field.
Get the UnixFDs, if there is one in the header field.
It is true if the message contains an UnixFDs in the header fields.
Create a message return from this Message.
Only works if this Message is a MethodCall.
Create a unknown property error message from this Message.
Create a unknown path error message from this Message.
Create a unknown interface error message from this Message.
Create a unknown member error message from this Message.
Create an invalid args error message from this Message.
Create an error message from this Message.
Get the message type.
Trait Implementations
This method returns an ordering between self and other values if one exists. Read more
This method tests less than (for self and other) and is used by the < operator. Read more
This method tests less than or equal to (for self and other) and is used by the <=
operator. Read more
This method tests greater than (for self and other) and is used by the > operator. Read more
Auto Trait Implementations
impl RefUnwindSafe for Message
impl UnwindSafe for Message
Blanket Implementations
Mutably borrows from an owned value. Read more
