pub struct RegistrationBuilder<'a> { /* private fields */ }Expand description
Build a registered DBus object, by handling different parts of DBus.
Implementations§
Source§impl<'a> RegistrationBuilder<'a>
impl<'a> RegistrationBuilder<'a>
pub fn method_call<F: Fn(DBusConnection, Option<&str>, &str, Option<&str>, &str, Variant, DBusMethodInvocation) + 'static>( self, f: F, ) -> Self
Sourcepub fn typed_method_call<T: DBusMethodCall>(self) -> MethodCallBuilder<'a, T>
pub fn typed_method_call<T: DBusMethodCall>(self) -> MethodCallBuilder<'a, T>
Handle method calls on this object.
Return a builder for method calls which parses method names and
parameters with the given DBusMethodCall and then allows to dispatch
the parsed call either synchronously or asynchronously.