pub fn discover(&self) -> FactSet {
        let mut r = FactSet::new();

        for (name, plugin) in self.plugins.iter() {
            match plugin.discover() {
                Ok(f) => {
                    r.insert(name.to_string(), Value::Object(f));
                }
                Err(e) => log::warn!("Discovery failed for {}: {}", name, e),
            }
        }

        r
    }
/// Discover all available facts via the registered fact plugins.
///
/// This operation will take some time as it fetches facts from all available providers.
Discover all available facts via the registered fact plugins.
This operation will take some time as it fetches facts from all available providers.
Discover all available facts via the registered fact plugins . This operation will take some time as it fetches facts from all available providers .
pub fn discover(&self) -> FactSet {
        let mut r = FactSet::new();
        for (name, plugin) in self.plugins.iter() {
            match plugin.discover() {
                Ok(f) => {
                    r.insert(name.to_string(), Value::Object(f));
                }
                Err(e) => log::warn!("Discovery failed for {}: {}", name, e),
            }
        }
        r
    }
pub fn discover ( & self ) -> FactSet { let mut r = FactSet :: new ( ) ; for ( name , plugin ) in self . plugins . iter ( ) { match plugin . discover ( ) { Ok ( f ) => { r . insert ( name . to_string ( ) , Value :: Object ( f ) ) ; } Err ( e ) => log :: warn ! ( " " name e ) , } } r }
Discover all available facts via the registered fact plugins.
Discover all available facts via the registered fact plugins .
&self
&self