#[non_exhaustive]pub enum DaemonType {
DBusDaemon,
DBusBroker,
}Expand description
A type of a D-Bus daemon.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
Source§impl Clone for DaemonType
impl Clone for DaemonType
Source§fn clone(&self) -> DaemonType
fn clone(&self) -> DaemonType
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 DaemonType
impl Debug for DaemonType
Source§impl Hash for DaemonType
impl Hash for DaemonType
Source§impl Ord for DaemonType
impl Ord for DaemonType
Source§fn cmp(&self, other: &DaemonType) -> Ordering
fn cmp(&self, other: &DaemonType) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for DaemonType
impl PartialEq for DaemonType
Source§impl PartialOrd for DaemonType
impl PartialOrd for DaemonType
impl Copy for DaemonType
impl Eq for DaemonType
impl StructuralPartialEq for DaemonType
Auto Trait Implementations§
impl Freeze for DaemonType
impl RefUnwindSafe for DaemonType
impl Send for DaemonType
impl Sync for DaemonType
impl Unpin for DaemonType
impl UnwindSafe for DaemonType
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