[][src]Enum dbus::ffidisp::NameFlag

#[repr(C)]pub enum NameFlag {
    AllowReplacement,
    ReplaceExisting,
    DoNotQueue,
}

Flags to use for Connection::register_name.

More than one flag can be specified, if so just add their values.

Variants

AllowReplacement

Allow another service to become the primary owner if requested

ReplaceExisting

Request to replace the current primary owner

DoNotQueue

If we can not become the primary owner do not place us in the queue

Implementations

impl NameFlag[src]

pub fn value(self) -> u32[src]

u32 value of flag.

Trait Implementations

impl Clone for NameFlag[src]

impl Copy for NameFlag[src]

impl Debug for NameFlag[src]

impl Eq for NameFlag[src]

impl Ord for NameFlag[src]

impl PartialEq<NameFlag> for NameFlag[src]

impl PartialOrd<NameFlag> for NameFlag[src]

impl StructuralEq for NameFlag[src]

impl StructuralPartialEq for NameFlag[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.