Do we need to retry the DBus Server setup #661
-
Hey guys, let _conn = connection::Builder::session()? Can this fail later (not during the initial await) and if so, will it retry automatically, or do I need to add something to retry? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
If I understood correctly, no, once the connection is established, there will be no errors. If the service does something that is against the protocol, it may be disconnected by the bus but chances of that happening are extremely low since zbus takes care of all the low-level details for you, where a violation is most likely to happen. |
Beta Was this translation helpful? Give feedback.
If I understood correctly, no, once the connection is established, there will be no errors. If the service does something that is against the protocol, it may be disconnected by the bus but chances of that happening are extremely low since zbus takes care of all the low-level details for you, where a violation is most likely to happen.