Trait NetworkServiceExt

Source
pub trait NetworkServiceExt: 'static {
    // Required methods
    fn get_domain(&self) -> Option<GString>;
    fn get_protocol(&self) -> Option<GString>;
    fn get_scheme(&self) -> Option<GString>;
    fn get_service(&self) -> Option<GString>;
    fn set_scheme(&self, scheme: &str);
    fn connect_property_scheme_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_domain(&self) -> Option<GString>

Source

fn get_protocol(&self) -> Option<GString>

Source

fn get_scheme(&self) -> Option<GString>

Source

fn get_service(&self) -> Option<GString>

Source

fn set_scheme(&self, scheme: &str)

Source

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

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§