Skip to main content

default_location

Function default_location 

Source
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.