[−][src]Enum zbus::MessageField
The dynamic message header.
All D-Bus messages contain a set of metadata headers. Some of these headers are fixed for all types of messages, while others depend on the type of the message in question. The latter are called message fields.
Please consult the Message Format section of the D-Bus spec for more details.
Variants
Not a valid field.
Path(ObjectPath<'f>)
The object to send a call to, or the object a signal is emitted from.
Interface(Str<'f>)
The interface to invoke a method call on, or that a signal is emitted from.
Member(Str<'f>)
The member, either the method name or signal name.
ErrorName(Str<'f>)
The name of the error that occurred, for errors
ReplySerial(u32)
The serial number of the message this message is a reply to.
Destination(Str<'f>)
The name of the connection this message is intended for.
Sender(Str<'f>)
Unique name of the sending connection.
Signature(Signature<'f>)
The signature of the message body.
UnixFDs(u32)
The number of Unix file descriptors that accompany the message.
Implementations
impl<'f> MessageField<'f>
[src]
pub fn code(&self) -> MessageFieldCode
[src]
Get the associated code for this field.
Trait Implementations
impl<'f> Clone for MessageField<'f>
[src]
fn clone(&self) -> MessageField<'f>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<'f> Debug for MessageField<'f>
[src]
impl<'de: 'f, 'f> Deserialize<'de> for MessageField<'f>
[src]
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error> where
D: Deserializer<'de>,
[src]
D: Deserializer<'de>,
impl<'f> PartialEq<MessageField<'f>> for MessageField<'f>
[src]
fn eq(&self, other: &MessageField<'f>) -> bool
[src]
fn ne(&self, other: &MessageField<'f>) -> bool
[src]
impl<'f> Serialize for MessageField<'f>
[src]
impl<'f> StructuralPartialEq for MessageField<'f>
[src]
impl<'f> Type for MessageField<'f>
[src]
Auto Trait Implementations
impl<'f> RefUnwindSafe for MessageField<'f>
impl<'f> Send for MessageField<'f>
impl<'f> Sync for MessageField<'f>
impl<'f> Unpin for MessageField<'f>
impl<'f> UnwindSafe for MessageField<'f>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,