method IpAddr.toString
The canonical text of the address.
Example:
use std.net { IpAddr }
fn main() io {
print(IpAddr.loopbackV6().toString())
}Output
::1
pub(api) fn toString() -> strSince. 1.0.0-beta
Returns
str
Effects
none declared (pure unless the body says otherwise)
Defined in: std/net/net.oxl:247