Trait dbus::blocking::BlockingSender [−][src]
Abstraction over different connections
Required methods
fn send_with_reply_and_block(
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>
[src]
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>
Sends a message over the D-Bus and blocks, waiting for a reply or a timeout. This is used for method calls.
Note: In case of an error reply, this is returned as an Err(), not as a Ok(Message) with the error type.
Implementors
impl BlockingSender for dbus::blocking::Connection
[src]
fn send_with_reply_and_block(
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>
[src]
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>
impl BlockingSender for LocalConnection
[src]
fn send_with_reply_and_block(
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>
[src]
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>
impl BlockingSender for SyncConnection
[src]
fn send_with_reply_and_block(
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>
[src]
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>
impl BlockingSender for Channel
[src]
fn send_with_reply_and_block(
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>
[src]
&self,
msg: Message,
timeout: Duration
) -> Result<Message, Error>