#[repr(u8)]pub(crate) enum FieldCode {
Path = 1,
Interface = 2,
Member = 3,
ErrorName = 4,
ReplySerial = 5,
Destination = 6,
Sender = 7,
Signature = 8,
UnixFDs = 9,
}Expand description
The message field code.
Every Field 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 Fields.
Variants§
Path = 1
Code for Field::Path.
Interface = 2
Code for Field::Interface.
Member = 3
Code for Field::Member.
ErrorName = 4
Code for Field::ErrorName.
ReplySerial = 5
Code for Field::ReplySerial.
Destination = 6
Code for Field::Destination.
Sender = 7
Code for Field::Sender.
Signature = 8
Code for Field::Signature.
UnixFDs = 9
Code for Field::UnixFDs.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for FieldCode
impl<'de> Deserialize<'de> for FieldCode
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
impl Copy for FieldCode
impl Eq for FieldCode
impl StructuralPartialEq for FieldCode
Auto Trait Implementations§
impl Freeze for FieldCode
impl RefUnwindSafe for FieldCode
impl Send for FieldCode
impl Sync for FieldCode
impl Unpin for FieldCode
impl UnwindSafe for FieldCode
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
impl<'de, T> DynamicDeserialize<'de> for Twhere
T: Type + Deserialize<'de>,
Source§type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
Source§fn deserializer_for_signature(
signature: &Signature,
) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
fn deserializer_for_signature( signature: &Signature, ) -> Result<<T as DynamicDeserialize<'de>>::Deserializer, Error>
Get a deserializer compatible with this parsed signature.