Struct dbus::tree::Interface[][src]

pub struct Interface<M: MethodType<D>, D: DataType> { /* fields omitted */ }

Represents a D-Bus interface.

Methods

impl<M: MethodType<D>, D: DataType> Interface<M, D>
[src]

Builder function that adds a method to the interface.

Builder function that adds a signal to the interface.

Builder function that adds a property to the interface.

Builder function that adds an annotation to this interface.

Builder function that adds an annotation that this entity is deprecated.

Get interface name

Get associated data

Important traits for Iter<'a, V>

Iterates over methods implemented by this interface.

Important traits for Iter<'a, V>

Iterates over signals implemented by this interface.

Important traits for Iter<'a, V>

Iterates over properties implemented by this interface.

Trait Implementations

impl<M: Debug + MethodType<D>, D: Debug + DataType> Debug for Interface<M, D> where
    D::Interface: Debug
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<M, D> Send for Interface<M, D> where
    <M as MethodType<D>>::GetProp: Send + Sync,
    <D as DataType>::Interface: Send,
    <D as DataType>::Method: Send + Sync,
    <M as MethodType<D>>::Method: Send + Sync,
    <D as DataType>::Property: Send + Sync,
    <M as MethodType<D>>::SetProp: Send + Sync,
    <D as DataType>::Signal: Send + Sync

impl<M, D> Sync for Interface<M, D> where
    <M as MethodType<D>>::GetProp: Send + Sync,
    <D as DataType>::Interface: Sync,
    <D as DataType>::Method: Send + Sync,
    <M as MethodType<D>>::Method: Send + Sync,
    <D as DataType>::Property: Send + Sync,
    <M as MethodType<D>>::SetProp: Send + Sync,
    <D as DataType>::Signal: Send + Sync