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

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

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

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

Required methods

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

Dispatches a message.

Loading content...

Provided methods

pub 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

impl Process for Connection[src]

impl Process for LocalConnection[src]

impl Process for SyncConnection[src]

Loading content...