fn next(&mut self) -> Option<Self::Item> {
        let res = self.conn.read_msg();
        match res {
            Ok(message) => {
                let dbus_message = Message::new(message);
                if _should_handle(&dbus_message) {
                    Some(dbus_message)
                } else {
                    None
                }
            },
            Err(_) => None,
        }
    }
/// Returns messages received from the bus.
///
/// Note that this currently blocks. See [this
/// issue](https://github.com/srwalter/dbus-bytestream/issues/10) for progress on supporting an
/// event loop.
Returns messages received from the bus.
Note that this currently blocks. See [this
issue] for progress on supporting an
event loop.
Returns messages received from the bus . Note that this currently blocks . See [ this issue ] for progress on supporting an event loop .
fn next(&mut self) -> Option<Self::Item> {
        let res = self.conn.read_msg();
        match res {
            Ok(message) => {
                let dbus_message = Message::new(message);
                if _should_handle(&dbus_message) {
                    Some(dbus_message)
                } else {
                    None
                }
            },
            Err(_) => None,
        }
    }
fn next ( & mut self ) -> Option < Self :: Item > { let res = self . conn . read_msg ( ) ; match res { Ok ( message ) => { let dbus_message = Message :: new ( message ) ; if _should_handle ( & dbus_message ) { Some ( dbus_message ) } else { None } } , Err ( _ ) => None , } }
Returns messages received from the bus.
Returns messages received from the bus .
&mut self