pub struct PropInfo<'a, M: 'a + MethodType<D>, D: 'a + DataType> {
pub msg: &'a Message,
pub method: &'a Method<M, D>,
pub prop: &'a Property<M, D>,
pub iface: &'a Interface<M, D>,
pub path: &'a ObjectPath<M, D>,
pub tree: &'a Tree<M, D>,
}
Expand description
Contains information about the incoming property get/set request.
Fields§
§msg: &'a Message
Message
method: &'a Method<M, D>
Get, Set or GetAll
prop: &'a Property<M, D>
The property to be set/get
iface: &'a Interface<M, D>
The interface the property belongs to
path: &'a ObjectPath<M, D>
Object path
tree: &'a Tree<M, D>
Tree
Implementations§
Source§impl<'a, M: 'a + MethodType<D>, D: 'a + DataType> PropInfo<'a, M, D>
impl<'a, M: 'a + MethodType<D>, D: 'a + DataType> PropInfo<'a, M, D>
Sourcepub fn to_method_info(&self) -> MethodInfo<'a, M, D>
pub fn to_method_info(&self) -> MethodInfo<'a, M, D>
PropInfo to MethodInfo conversion.
Trait Implementations§
Source§impl<'a, M: Clone + 'a + MethodType<D>, D: Clone + 'a + DataType> Clone for PropInfo<'a, M, D>
impl<'a, M: Clone + 'a + MethodType<D>, D: Clone + 'a + DataType> Clone for PropInfo<'a, M, D>
Source§impl<'a, M: Debug + 'a + MethodType<D>, D: Debug + 'a + DataType> Debug for PropInfo<'a, M, D>
impl<'a, M: Debug + 'a + MethodType<D>, D: Debug + 'a + DataType> Debug for PropInfo<'a, M, D>
impl<'a, M: Copy + 'a + MethodType<D>, D: Copy + 'a + DataType> Copy for PropInfo<'a, M, D>
Auto Trait Implementations§
impl<'a, M, D> Freeze for PropInfo<'a, M, D>
impl<'a, M, D> RefUnwindSafe for PropInfo<'a, M, D>where
<D as DataType>::Method: RefUnwindSafe,
<D as DataType>::Property: RefUnwindSafe,
<D as DataType>::Interface: RefUnwindSafe,
<D as DataType>::ObjectPath: RefUnwindSafe,
<D as DataType>::Tree: RefUnwindSafe,
<M as MethodType<D>>::Method: RefUnwindSafe,
<M as MethodType<D>>::GetProp: RefUnwindSafe,
<M as MethodType<D>>::SetProp: RefUnwindSafe,
<D as DataType>::Signal: RefUnwindSafe,
impl<'a, M, D> !Send for PropInfo<'a, M, D>
impl<'a, M, D> !Sync for PropInfo<'a, M, D>
impl<'a, M, D> Unpin for PropInfo<'a, M, D>
impl<'a, M, D> UnwindSafe for PropInfo<'a, M, D>where
<D as DataType>::Method: RefUnwindSafe,
<D as DataType>::Property: RefUnwindSafe,
<D as DataType>::Interface: RefUnwindSafe,
<D as DataType>::ObjectPath: RefUnwindSafe,
<D as DataType>::Tree: RefUnwindSafe,
<M as MethodType<D>>::Method: RefUnwindSafe,
<M as MethodType<D>>::GetProp: RefUnwindSafe,
<M as MethodType<D>>::SetProp: RefUnwindSafe,
<D as DataType>::Signal: RefUnwindSafe,
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