pub fn reset(&mut self) {
        self.prefs = HashMap::new();
        self.powermanager = None;
        self.appsservice = None;
        self.mobilemanager = None;
        self.networkmanager = None;
        // On session dropped, do no reset the observers.
    }
/// Reset the state, making it possible to set new delegates.
Reset the state, making it possible to set new delegates.
Reset the state making it possible to set new delegates .
pub fn reset(&mut self) {
        self.prefs = HashMap::new();
        self.powermanager = None;
        self.appsservice = None;
        self.mobilemanager = None;
        self.networkmanager = None;
        // On session dropped, do no reset the observers.
    }
pub fn reset ( & mut self ) { self . prefs = HashMap :: new ( ) ; self . powermanager = None ; self . appsservice = None ; self . mobilemanager = None ; self . networkmanager = None ; // On session dropped, do no reset the observers. }
Reset the state, making it possible to set new delegates.
Reset the state making it possible to set new delegates .
&mut self
&mut self