Trait dbus::nonblock::Process[][src]

pub trait Process: Sender + AsRef<Channel> {
    fn process_one(&self, msg: Message);

    fn process_all(&self) { ... }
}

Internal helper trait, implemented for connections that process incoming messages.

Required methods

fn process_one(&self, msg: Message)[src]

Dispatches a message.

Loading content...

Provided methods

fn process_all(&self)[src]

Dispatches all pending messages, without blocking.

This is usually called from the reactor only, after read_write. Despite this taking &self and not "&mut self", it is a logic error to call this recursively or from more than one thread at a time.

Loading content...

Implementors

Loading content...