[−][src]Struct dbus::tree::Method
A D-Bus Method.
Methods
impl<M: MethodType<D>, D: DataType> Method<M, D>
[src]
pub fn in_arg<A: Into<Argument>>(self, a: A) -> Self
[src]
Builder method that adds an "in" Argument to this Method.
pub fn inarg<A: Arg, S: Into<String>>(self, s: S) -> Self
[src]
Builder method that adds an "in" Argument to this Method.
pub fn in_args<Z: Into<Argument>, A: IntoIterator<Item = Z>>(self, a: A) -> Self
[src]
Builder method that adds multiple "in" Arguments to this Method.
pub fn out_arg<A: Into<Argument>>(self, a: A) -> Self
[src]
Builder method that adds an "out" Argument to this Method.
pub fn outarg<A: Arg, S: Into<String>>(self, s: S) -> Self
[src]
Builder method that adds an "out" Argument to this Method.
pub fn out_args<Z: Into<Argument>, A: IntoIterator<Item = Z>>(
self,
a: A
) -> Self
[src]
self,
a: A
) -> Self
Builder method that adds multiple "out" Arguments to this Method.
pub fn annotate<N: Into<String>, V: Into<String>>(
self,
name: N,
value: V
) -> Self
[src]
self,
name: N,
value: V
) -> Self
Builder method that adds an annotation to the method.
pub fn deprecated(self) -> Self
[src]
Builder method that adds an annotation that this entity is deprecated.
pub fn call(&self, minfo: &MethodInfo<M, D>) -> MethodResult
[src]
Call the Method
pub fn get_name(&self) -> &Member<'static>
[src]
Get method name
pub fn get_data(&self) -> &D::Method
[src]
Get associated data
Trait Implementations
impl<M: Debug + MethodType<D>, D: Debug + DataType> Debug for Method<M, D> where
D::Method: Debug,
[src]
D::Method: Debug,
Auto Trait Implementations
impl<M, D> Unpin for Method<M, D> where
<D as DataType>::Method: Unpin,
<D as DataType>::Method: Unpin,
impl<M, D> Sync for Method<M, D> where
<D as DataType>::Method: Sync,
<M as MethodType<D>>::Method: Sync,
<D as DataType>::Method: Sync,
<M as MethodType<D>>::Method: Sync,
impl<M, D> Send for Method<M, D> where
<D as DataType>::Method: Send,
<M as MethodType<D>>::Method: Send,
<D as DataType>::Method: Send,
<M as MethodType<D>>::Method: Send,
impl<M, D> RefUnwindSafe for Method<M, D> where
<D as DataType>::Method: RefUnwindSafe,
<M as MethodType<D>>::Method: RefUnwindSafe,
<D as DataType>::Method: RefUnwindSafe,
<M as MethodType<D>>::Method: RefUnwindSafe,
impl<M, D> UnwindSafe for Method<M, D> where
<D as DataType>::Method: UnwindSafe,
<M as MethodType<D>>::Method: UnwindSafe,
<D as DataType>::Method: UnwindSafe,
<M as MethodType<D>>::Method: UnwindSafe,
Blanket Implementations
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,