Struct dbus_message_parser::message::MessageHeader[][src]

pub struct MessageHeader { /* fields omitted */ }
Expand description

This represents a DBus message header.

Implementations

Create a [MessageHeader] object. It can fail if the required header fields are not present.

Get the serial number.

Get the Path, if there is one in the header field.

It is true if the message contains an Path in the header fields.

Get the Interface, if there is one in the header field.

It is true if the message contains an Interface in the header fields.

Get the Member, if there is one in the header field.

It is true if the message contains an Member in the header fields.

Get the ErrorName, if there is one in the header field.

It is true if the message contains an ErrorName in the header fields.

Get the Destination, if there is one in the header field.

It is true if the message contains a Destination in the header fields.

Get the Sender, if there is one in the header field.

It is true if the message contains a Sender in the header fields.

Get the ReplySerial number, if there is one in the header field.

It is true if the message contains an ReplySerial in the header fields.

Get the Signature, if there is one in the header field.

It is true if the message contains a Signature in the header fields.

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

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

This method returns an Ordering between self and other. Read more

Compares and returns the maximum of two values. Read more

Compares and returns the minimum of two values. Read more

Restrict a value to a certain interval. Read more

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

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

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.