pub fn default_location() -> Result<SocketLocation, SocketError>Expand description
Select the current user’s endpoint without creating it.
§Errors
Returns an error if the user’s location cannot be determined or is too long.
pub fn default_location() -> Result<SocketLocation, SocketError>Select the current user’s endpoint without creating it.
Returns an error if the user’s location cannot be determined or is too long.