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
ServerAddress should make use of existing standard library types to pass the TCP socket e.g. SocketAddr. Passing it as a string (e.g. ServerAddress::Tcp { host "my_socket", port: Some(4040) }) is error prone.
The text was updated successfully, but these errors were encountered:
That looks good, really any approach that passes the socket as std::net types rather than a String and a Option<u16>. Currently I'm doing Tcp { host: addr.to_string(), .. } which is pretty ugly.
ServerAddress
should make use of existing standard library types to pass the TCP socket e.g.SocketAddr
. Passing it as a string (e.g.ServerAddress::Tcp { host "my_socket", port: Some(4040) }
) is error prone.The text was updated successfully, but these errors were encountered: