async fn create_nodes_from_config<'a, 'b>(
        &mut self,
        service_fs: &'a mut ServiceFs<ServiceObjLocal<'b, ()>>,
    ) -> Result<(), Error> {
        let json_data: json::Value =
            json::from_reader(BufReader::new(File::open(NODE_CONFIG_PATH)?))?;
        self.create_nodes(json_data, service_fs).await
    }
/// Create the nodes by reading and parsing the node config JSON file.
Create the nodes by reading and parsing the node config JSON file.
Create the nodes by reading and parsing the node config JSON file .
async fn create_nodes_from_config<'a, 'b>(
        &mut self,
        service_fs: &'a mut ServiceFs<ServiceObjLocal<'b, ()>>,
    ) -> Result<(), Error> {
        let json_data: json::Value =
            json::from_reader(BufReader::new(File::open(NODE_CONFIG_PATH)?))?;
        self.create_nodes(json_data, service_fs).await
    }
async fn create_nodes_from_config < ' a , ' b > ( & mut self , service_fs : & ' a mut ServiceFs < ServiceObjLocal < ' b , ( ) > > , ) -> Result < ( ) , Error > { let json_data : json :: Value = json :: from_reader ( BufReader :: new ( File :: open ( NODE_CONFIG_PATH ) ? ) ) ? ; self . create_nodes ( json_data , service_fs ) . await }
Create the nodes by reading and parsing the node config JSON file.
Create the nodes by reading and parsing the node config JSON file .
&mut self
service_fs
&'a mut ServiceFs<ServiceObjLocal<'b, ()>>
&mut self
service_fs
&'a mut ServiceFs<ServiceObjLocal<'b, ()>>