Enum zbus::MessageFieldCode
source · #[repr(u8)]
pub enum MessageFieldCode {
Invalid,
Path,
Interface,
Member,
ErrorName,
ReplySerial,
Destination,
Sender,
Signature,
UnixFDs,
}
Expand description
The message field code.
Every MessageField
has an associated code. This is mostly an internal D-Bus protocol detail
that you would not need to ever care about when using the high-level API. When using the
low-level API, this is how you can retrieve a specific field from MessageFields
.
Variants§
Invalid
Code for MessageField::Invalid
Path
Code for MessageField::Path
Interface
Code for MessageField::Interface
Member
Code for MessageField::Member
ErrorName
Code for MessageField::ErrorName
ReplySerial
Code for MessageField::ReplySerial
Destination
Code for MessageField::Destinatione
Sender
Code for MessageField::Sender
Signature
Code for MessageField::Signature
UnixFDs
Code for MessageField::UnixFDs
Trait Implementations§
source§impl Clone for MessageFieldCode
impl Clone for MessageFieldCode
source§fn clone(&self) -> MessageFieldCode
fn clone(&self) -> MessageFieldCode
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for MessageFieldCode
impl Debug for MessageFieldCode
source§impl<'de> Deserialize<'de> for MessageFieldCode
impl<'de> Deserialize<'de> for MessageFieldCode
source§fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where
D: Deserializer<'de>,
fn deserialize<D>(deserializer: D) -> Result<Self, D::Error>where D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl From<u8> for MessageFieldCode
impl From<u8> for MessageFieldCode
source§fn from(val: u8) -> MessageFieldCode
fn from(val: u8) -> MessageFieldCode
Converts to this type from the input type.
source§impl PartialEq<MessageFieldCode> for MessageFieldCode
impl PartialEq<MessageFieldCode> for MessageFieldCode
source§fn eq(&self, other: &MessageFieldCode) -> bool
fn eq(&self, other: &MessageFieldCode) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for MessageFieldCode
impl Serialize for MessageFieldCode
source§impl Type for MessageFieldCode
impl Type for MessageFieldCode
impl Copy for MessageFieldCode
impl Eq for MessageFieldCode
impl StructuralEq for MessageFieldCode
impl StructuralPartialEq for MessageFieldCode
Auto Trait Implementations§
impl RefUnwindSafe for MessageFieldCode
impl Send for MessageFieldCode
impl Sync for MessageFieldCode
impl Unpin for MessageFieldCode
impl UnwindSafe for MessageFieldCode
Blanket Implementations§
source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de> + ?Sized,
impl<'de, T> DynamicDeserialize<'de> for Twhere T: Type + Deserialize<'de> + ?Sized,
§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
source§fn deserializer_for_signature<S>(
signature: S
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>where
S: TryInto<Signature<'de>>,
<S as TryInto<Signature<'de>>>::Error: Into<Error>,
fn deserializer_for_signature<S>( signature: S ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>where S: TryInto<Signature<'de>>, <S as TryInto<Signature<'de>>>::Error: Into<Error>,
Get a deserializer compatible with this signature.
source§impl<T> DynamicType for Twhere
T: Type + ?Sized,
impl<T> DynamicType for Twhere T: Type + ?Sized,
source§fn dynamic_signature(&self) -> Signature<'_>
fn dynamic_signature(&self) -> Signature<'_>
Get the signature for the implementing type. Read more