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
sourceimpl Clone for DBusMessageType
impl Clone for DBusMessageType
sourcefn clone(&self) -> DBusMessageType
fn clone(&self) -> DBusMessageType
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 moresourceimpl Debug for DBusMessageType
impl Debug for DBusMessageType
sourceimpl PartialEq<DBusMessageType> for DBusMessageType
impl PartialEq<DBusMessageType> for DBusMessageType
sourcefn eq(&self, other: &DBusMessageType) -> bool
fn eq(&self, other: &DBusMessageType) -> bool
impl Copy for DBusMessageType
impl StructuralPartialEq for DBusMessageType
Auto Trait Implementations
impl RefUnwindSafe for DBusMessageType
impl Send for DBusMessageType
impl Sync for DBusMessageType
impl Unpin for DBusMessageType
impl UnwindSafe for DBusMessageType
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