Skip to main content

get

Function get 

Source
pub async fn get(url: Url) -> Result<IpAddr, Error>
Expand description

Returns current ip.

ยงErrors

Returns Error::AddrParseError if there was a returned ip address parse error. Returns Error::ReqwestError if there was a reqwest::Error.