Skip to main content

NetworkServiceExt

Trait NetworkServiceExt 

Source
pub trait NetworkServiceExt: IsA<NetworkService> + 'static {
    // Provided methods
    fn domain(&self) -> GString { ... }
    fn protocol(&self) -> GString { ... }
    fn scheme(&self) -> GString { ... }
    fn service(&self) -> GString { ... }
    fn set_scheme(&self, scheme: &str) { ... }
    fn connect_scheme_notify<F>(&self, f: F) -> SignalHandlerId
       where F: Fn(&Self) + 'static { ... }
}

Provided Methods§

Source

fn domain(&self) -> GString

Source

fn protocol(&self) -> GString

Source

fn scheme(&self) -> GString

Source

fn service(&self) -> GString

Source

fn set_scheme(&self, scheme: &str)

Source

fn connect_scheme_notify<F>(&self, f: F) -> SignalHandlerId
where F: Fn(&Self) + 'static,

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§