Struct zbus::MessagePrimaryHeader [−][src]
pub struct MessagePrimaryHeader { /* fields omitted */ }Expand description
The primary message header, which is present in all D-Bus messages.
This header contains all the essential information about a message, regardless of its type.
Implementations
Create a new MessagePrimaryHeader instance.
D-Bus code for bytorder encoding of the message.
Set the D-Bus code for bytorder encoding of the message.
The message type.
Set the message type.
The message flags.
Set the message flags.
The major version of the protocol the message is compliant to.
Currently only 1 is valid.
Set the major version of the protocol the message is compliant to.
Currently only 1 is valid.
Set the byte length of the message body.
The serial number of the message (if set).
This is used to match a reply to a method call.
Note: There is no setter provided for this in the public API since this is set by the
Connection the message is sent over.
Trait Implementations
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations
impl RefUnwindSafe for MessagePrimaryHeaderimpl Send for MessagePrimaryHeaderimpl Sync for MessagePrimaryHeaderimpl Unpin for MessagePrimaryHeaderimpl UnwindSafe for MessagePrimaryHeaderBlanket Implementations
Mutably borrows from an owned value. Read more
pub fn vzip(self) -> V