Struct zbus::MessageHeader [−][src]
pub struct MessageHeader<'m> { /* fields omitted */ }
Expand description
The message header, containing all the metadata about the message.
This includes both the MessagePrimaryHeader
and MessageFields
.
Implementations
Create a new MessageHeader
instance.
Get a reference to the primary header.
Get a mutable reference to the primary header.
Get the primary header, consuming self
.
Get a reference to the message fields.
Get a mutable reference to the message fields.
Get the message fields, consuming self
.
The message type
The object to send a call to, or the object a signal is emitted from.
The interface to invoke a method call on, or that a signal is emitted from.
The member, either the method name or signal name.
The name of the error that occurred, for errors.
The serial number of the message this message is a reply to.
The name of the connection this message is intended for.
Unique name of the sending connection.
The signature of the message body.
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<'m> RefUnwindSafe for MessageHeader<'m>
impl<'m> Send for MessageHeader<'m>
impl<'m> Sync for MessageHeader<'m>
impl<'m> Unpin for MessageHeader<'m>
impl<'m> UnwindSafe for MessageHeader<'m>