Trait gio::prelude::NetworkAddressExt [−][src]
pub trait NetworkAddressExt: 'static { fn hostname(&self) -> GString; fn port(&self) -> u16; fn scheme(&self) -> Option<GString>; }
Expand description
Required methods
Gets self
’s hostname. This might be either UTF-8 or ASCII-encoded,
depending on what self
was created with.
Returns
self
’s hostname