dbus-async 2.3.1

Asynchronous DBus library
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
use super::super::Connection;
use dbus_message_parser::message::Message;

impl Connection {
    pub(super) fn unhandled(&mut self, msg: Message) {
        error!("MethodCall: UNHANDLED: {:?}", msg);
        if let Some(mut msg) = msg.unknown_path() {
            self.serial += 1;
            msg.set_serial(self.serial);

            if let Err(e) = self.message_sink.unbounded_send(msg) {
                error!("MethodCall: message_sender.unbounded_send: {:?}", e);
            }
        }
    }
}