#[repr(C)]pub enum DBusMessageType {
Invalid = 0,
MethodCall = 1,
MethodReturn = 2,
Error = 3,
Signal = 4,
}
Expand description
One of the four different D-Bus message types.
Variants§
Invalid = 0
This is not a valid message type (rarely used)
MethodCall = 1
This is a method call D-Bus message
MethodReturn = 2
This is a method return Ok D-Bus message, used when the method call message was successfully processed
Error = 3
This is a method return with error D-Bus message, used when the method call message could not be handled
Signal = 4
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 duplicate 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 for DBusMessageType
impl PartialEq for DBusMessageType
impl Copy for DBusMessageType
impl StructuralPartialEq for DBusMessageType
Auto Trait Implementations§
impl Freeze for DBusMessageType
impl RefUnwindSafe for DBusMessageType
impl Send for DBusMessageType
impl Sync for DBusMessageType
impl Unpin for DBusMessageType
impl UnwindSafe for DBusMessageType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more