Enum dbus::ffidisp::MsgHandlerType
source · [−]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
All
Handle all messages
MsgType(MessageType)
Handle only messages of a specific type
Reply(u32)
Handle only method replies with this serial number
Trait Implementations
sourceimpl Clone for MsgHandlerType
impl Clone for MsgHandlerType
sourcefn clone(&self) -> MsgHandlerType
fn clone(&self) -> MsgHandlerType
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for MsgHandlerType
impl Send for MsgHandlerType
impl Sync for MsgHandlerType
impl Unpin for MsgHandlerType
impl UnwindSafe for MsgHandlerType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more