Skip to content

Commit

Permalink
Merge pull request #556 from zeenix/address-rework
Browse files Browse the repository at this point in the history
💥 zb: Improved Address API
  • Loading branch information
zeenix authored Jan 28, 2024
2 parents 65ff902 + f98b27e commit 8fbbe0a
Show file tree
Hide file tree
Showing 20 changed files with 1,599 additions and 1,195 deletions.
4 changes: 2 additions & 2 deletions book/src/connection.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@ let (client_conn, server_conn) = futures_util::try_join!(
// Client
Builder::unix_stream(p0).p2p().build(),
// Server
Builder::unix_stream(p1).server(&guid).p2p().build(),
Builder::unix_stream(p1).server(guid)?.p2p().build(),
)?;
# }
#
Expand All @@ -72,7 +72,7 @@ let (client_conn, server_conn) = futures_util::try_join!(
[PID1]: https://www.freedesktop.org/wiki/Software/systemd/dbus/
[`futures::stream::Stream`]: https://docs.rs/futures/latest/futures/stream/trait.Stream.html
[`MessageStream`]: https://docs.rs/zbus/latest/zbus/struct.MessageStream.html
[`Builder::address`]: https://docs.rs/zbus/latest/zbus/connection/struct.ConnectionBuilder.html#method.address
[`connection::Builder::address`]: https://docs.rs/zbus/latest/zbus/connection/struct.ConnectionBuilder.html#method.address
[dspec]: https://dbus.freedesktop.org/doc/dbus-specification.html#addresses

[^bus-less] Unless you implemented them, none of the bus methods will exist.
Loading

0 comments on commit 8fbbe0a

Please sign in to comment.