method IpAddr.toString
The canonical text of the address.
Example:
use std.net { IpAddr }
fn main() io {
print(IpAddr.loopbackV6().toString())
}Вывод
::1
pub(api) fn toString() -> strС версии. 1.0.0-beta
Возвращает
str
Эффекты
не объявлены (чистая, пока тело не говорит иное)
Определено в: std/net/net.oxl:247