Enum libdbus_sys::DBusMessageType
source · #[repr(C)]
pub enum DBusMessageType {
Invalid,
MethodCall,
MethodReturn,
Error,
Signal,
}
Expand description
One of the four different D-Bus message types.
Variants§
Invalid
This is not a valid message type (rarely used)
MethodCall
This is a method call D-Bus message
MethodReturn
This is a method return Ok D-Bus message, used when the method call message was successfully processed
Error
This is a method return with error D-Bus message, used when the method call message could not be handled
Signal
This is a signal, usually sent to whoever wants to listen
Trait Implementations§
source§impl Clone for DBusMessageType
impl Clone for DBusMessageType
source§fn clone(&self) -> DBusMessageType
fn clone(&self) -> DBusMessageType
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 DBusMessageType
impl Debug for DBusMessageType
source§impl PartialEq<DBusMessageType> for DBusMessageType
impl PartialEq<DBusMessageType> for DBusMessageType
source§fn eq(&self, other: &DBusMessageType) -> bool
fn eq(&self, other: &DBusMessageType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.