Struct async_rustbus::conn::Conn [−][src]
pub struct Conn { /* fields omitted */ }Expand description
A synchronous non-blocking connection to DBus session.
Most people will want to use RpcConn. This is a low-level
struct used by RpcConn to read and write messages to/from the DBus
socket. It does minimal processing of data and provides no Async interfaces.
Notes
- If you are interested in synchronous interface for DBus, the
rustbusis a better solution.
Implementations
pub async fn connect_to_addr<P: AsRef<Path>, S: ToSocketAddrs, B: AsRef<[u8]>>(
addr: &DBusAddr<P, S, B>,
with_fd: bool
) -> Result<Self>pub fn write_next_message(
&mut self,
msg: &MarshalledMessage
) -> Result<(Option<u64>, Option<u32>)>Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for Connimpl UnwindSafe for Conn