You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
ExaConnectOptionsBuilder setters take &mut self, but building the ExaConnectOptions requires ownership. The type was initially made to be used internally and only afterwards made public, but this design makes method chaining and building impossible.
Therefore, it might be better to simply take mut self in setters to make the builder more ergonomic for consumer code.
The text was updated successfully, but these errors were encountered:
ExaConnectOptionsBuilder
setters take&mut self
, but building theExaConnectOptions
requires ownership. The type was initially made to be used internally and only afterwards made public, but this design makes method chaining and building impossible.Therefore, it might be better to simply take
mut self
in setters to make the builder more ergonomic for consumer code.The text was updated successfully, but these errors were encountered: