[−][src]Trait gio::NetworkServiceExt
Required methods
fn get_domain(&self) -> Option<GString>
Gets the domain that self
serves. This might be either UTF-8 or
ASCII-encoded, depending on what self
was created with.
Returns
self
's domain name
fn get_protocol(&self) -> Option<GString>
fn get_scheme(&self) -> Option<GString>
Get's the URI scheme used to resolve proxies. By default, the service name is used as scheme.
Returns
self
's scheme name
fn get_service(&self) -> Option<GString>
fn set_scheme(&self, scheme: &str)
Set's the URI scheme used to resolve proxies. By default, the service name is used as scheme.
scheme
a URI scheme
fn connect_property_scheme_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<NetworkService>> NetworkServiceExt for O
[src]
fn get_domain(&self) -> Option<GString>
[src]
fn get_protocol(&self) -> Option<GString>
[src]
fn get_scheme(&self) -> Option<GString>
[src]
fn get_service(&self) -> Option<GString>
[src]
fn set_scheme(&self, scheme: &str)
[src]
fn connect_property_scheme_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId
[src]
&self,
f: F
) -> SignalHandlerId