[][src]Struct dbus_tree::MethodInfo

pub struct MethodInfo<'a, M: 'a + MethodType<D>, D: 'a + DataType> {
    pub msg: &'a Message,
    pub method: &'a Method<M, D>,
    pub iface: &'a Interface<M, D>,
    pub path: &'a ObjectPath<M, D>,
    pub tree: &'a Tree<M, D>,
}

Contains information about the incoming method call.

Fields

msg: &'a Message

Message

method: &'a Method<M, D>

The method to be called

iface: &'a Interface<M, D>

Interface

path: &'a ObjectPath<M, D>

Object path

tree: &'a Tree<M, D>

Tree

Implementations

impl<'a, M: 'a + MethodType<D>, D: 'a + DataType> MethodInfo<'a, M, D>[src]

pub fn to_prop_info(
    &self,
    iface: &'a Interface<M, D>,
    prop: &'a Property<M, D>
) -> PropInfo<'a, M, D>
[src]

MethodInfo to PropInfo conversion

Trait Implementations

impl<'a, M: Clone + 'a + MethodType<D>, D: Clone + 'a + DataType> Clone for MethodInfo<'a, M, D>[src]

impl<'a, M: Copy + 'a + MethodType<D>, D: Copy + 'a + DataType> Copy for MethodInfo<'a, M, D>[src]

impl<'a, M: Debug + 'a + MethodType<D>, D: Debug + 'a + DataType> Debug for MethodInfo<'a, M, D>[src]

impl<'a, M: 'a + MethodType<D>, D: 'a + DataType> Introspectable for MethodInfo<'a, M, D>[src]

type Err = MethodErr

Auto Trait Implementations

impl<'a, M, D> RefUnwindSafe for MethodInfo<'a, M, D> where
    <M as MethodType<D>>::GetProp: RefUnwindSafe,
    <D as DataType>::Interface: RefUnwindSafe,
    <D as DataType>::Method: RefUnwindSafe,
    <M as MethodType<D>>::Method: RefUnwindSafe,
    <D as DataType>::ObjectPath: RefUnwindSafe,
    <D as DataType>::Property: RefUnwindSafe,
    <M as MethodType<D>>::SetProp: RefUnwindSafe,
    <D as DataType>::Signal: RefUnwindSafe,
    <D as DataType>::Tree: RefUnwindSafe

impl<'a, M, D> !Send for MethodInfo<'a, M, D>

impl<'a, M, D> !Sync for MethodInfo<'a, M, D>

impl<'a, M, D> Unpin for MethodInfo<'a, M, D>

impl<'a, M, D> UnwindSafe for MethodInfo<'a, M, D> where
    <M as MethodType<D>>::GetProp: RefUnwindSafe,
    <D as DataType>::Interface: RefUnwindSafe,
    <D as DataType>::Method: RefUnwindSafe,
    <M as MethodType<D>>::Method: RefUnwindSafe,
    <D as DataType>::ObjectPath: RefUnwindSafe,
    <D as DataType>::Property: RefUnwindSafe,
    <M as MethodType<D>>::SetProp: RefUnwindSafe,
    <D as DataType>::Signal: RefUnwindSafe,
    <D as DataType>::Tree: RefUnwindSafe

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.