Function zeroconf::linux::avahi_util::avahi_address_to_string [−][src]
pub unsafe fn avahi_address_to_string(addr: *const AvahiAddress) -> String
Expand description
Converts the specified *const AvahiAddress
to a String
.
The new String
is constructed through allocating a new CString
, passing it to
avahi_address_snprint
and then converting it to a Rust-type String
.
Safety
This function is unsafe because of internal Avahi calls and raw pointer dereference.