Struct dbus::tree::ObjectPath [−][src]
pub struct ObjectPath<M: MethodType<D>, D: DataType> { /* fields omitted */ }
A D-Bus Object Path.
Methods
impl<M: MethodType<D>, D: DataType> ObjectPath<M, D>
[src]
impl<M: MethodType<D>, D: DataType> ObjectPath<M, D>
pub fn add<I: Into<Arc<Interface<M, D>>>>(self, s: I) -> Self
[src]
pub fn add<I: Into<Arc<Interface<M, D>>>>(self, s: I) -> Self
Builder function that adds a interface to the object path.
pub fn get_name(&self) -> &Path<'static>
[src]
pub fn get_name(&self) -> &Path<'static>
Get property name
pub fn get_data(&self) -> &D::ObjectPath
[src]
pub fn get_data(&self) -> &D::ObjectPath
Get associated data
pub fn introspectable(self) -> Self
[src]
pub fn introspectable(self) -> Self
Adds introspection support for this object path.
pub fn object_manager(self) -> Self
[src]
pub fn object_manager(self) -> Self
Adds ObjectManager support for this object path.
It is not possible to add/remove interfaces while the object path belongs to a tree, hence no InterfacesAdded / InterfacesRemoved signals are sent.
ⓘImportant traits for Iter<'a, V>pub fn iter<'a>(&'a self) -> Iter<'a, Interface<M, D>>
[src]
ⓘImportant traits for Iter<'a, V>
pub fn iter<'a>(&'a self) -> Iter<'a, Interface<M, D>>
Iterates over interfaces implemented by this object path.
Trait Implementations
impl<M: Debug + MethodType<D>, D: Debug + DataType> Debug for ObjectPath<M, D> where
D::ObjectPath: Debug,
[src]
impl<M: Debug + MethodType<D>, D: Debug + DataType> Debug for ObjectPath<M, D> where
D::ObjectPath: Debug,
Auto Trait Implementations
impl<M, D> Send for ObjectPath<M, D> where
<M as MethodType<D>>::GetProp: Send + Sync,
<D as DataType>::Interface: Send + Sync,
<D as DataType>::Method: Send + Sync,
<M as MethodType<D>>::Method: Send + Sync,
<D as DataType>::ObjectPath: Send,
<D as DataType>::Property: Send + Sync,
<M as MethodType<D>>::SetProp: Send + Sync,
<D as DataType>::Signal: Send + Sync,
impl<M, D> Send for ObjectPath<M, D> where
<M as MethodType<D>>::GetProp: Send + Sync,
<D as DataType>::Interface: Send + Sync,
<D as DataType>::Method: Send + Sync,
<M as MethodType<D>>::Method: Send + Sync,
<D as DataType>::ObjectPath: Send,
<D as DataType>::Property: Send + Sync,
<M as MethodType<D>>::SetProp: Send + Sync,
<D as DataType>::Signal: Send + Sync,
impl<M, D> Sync for ObjectPath<M, D> where
<M as MethodType<D>>::GetProp: Send + Sync,
<D as DataType>::Interface: Send + Sync,
<D as DataType>::Method: Send + Sync,
<M as MethodType<D>>::Method: Send + Sync,
<D as DataType>::ObjectPath: 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 ObjectPath<M, D> where
<M as MethodType<D>>::GetProp: Send + Sync,
<D as DataType>::Interface: Send + Sync,
<D as DataType>::Method: Send + Sync,
<M as MethodType<D>>::Method: Send + Sync,
<D as DataType>::ObjectPath: Sync,
<D as DataType>::Property: Send + Sync,
<M as MethodType<D>>::SetProp: Send + Sync,
<D as DataType>::Signal: Send + Sync,