Enum zbus::MessageType [−][src]
#[repr(u8)]
pub enum MessageType {
Invalid,
MethodCall,
MethodReturn,
Error,
Signal,
}
Expand description
Message header representing the D-Bus type of the message.
Variants
Invalid
Invalid message type. All unknown types on received messages are treated as invalid.
MethodCall
Method call. This message type may prompt a reply (and typically does).
MethodReturn
A reply to a method call.
Error
An error in response to a method call.
Signal
Signal emission.
Trait Implementations
Deserialize this value from the given Serde deserializer. Read more
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for MessageType
impl Send for MessageType
impl Sync for MessageType
impl Unpin for MessageType
impl UnwindSafe for MessageType
Blanket Implementations
Mutably borrows from an owned value. Read more
type Deserializer = PhantomData<T>
type Deserializer = PhantomData<T>
A DeserializeSeed implementation for this type.
pub 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>,
pub 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.
Get the signature for the implementing type. Read more