Enum dbus::ffidisp::MsgHandlerType [−][src]
pub enum MsgHandlerType {
All,
MsgType(MessageType),
Reply(u32),
}
Expand description
Type of messages to be handled by a MsgHandler.
Note: More variants can be added in the future; but unless you’re writing your own D-Bus engine you should not have to match on these anyway.
Variants
Handle all messages
MsgType(MessageType)
Handle only messages of a specific type
Tuple Fields of MsgType
0: MessageType
Reply(u32)
Handle only method replies with this serial number
Tuple Fields of Reply
0: u32
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for MsgHandlerType
impl Send for MsgHandlerType
impl Sync for MsgHandlerType
impl Unpin for MsgHandlerType
impl UnwindSafe for MsgHandlerType
Blanket Implementations
Mutably borrows from an owned value. Read more