fn validate(self) -> Result<(SpuControllerConfig, DeleteTopicConfig), CliError> {
        // profile specific configurations (target server)
        let target_server = SpuControllerConfig::new(self.sc, self.kf, self.profile)?;
        let delete_topic_cfg = DeleteTopicConfig { name: self.topic };

        // return server separately from config
        Ok((target_server, delete_topic_cfg))
    }
/// Validate cli options. Generate target-server and delete-topic configuration.
Validate cli options. Generate target-server and delete-topic configuration.
Validate cli options . Generate target - server and delete - topic configuration .
fn validate(self) -> Result<(SpuControllerConfig, DeleteTopicConfig), CliError> {
        // profile specific configurations (target server)
        let target_server = SpuControllerConfig::new(self.sc, self.kf, self.profile)?;
        let delete_topic_cfg = DeleteTopicConfig { name: self.topic };
        // return server separately from config
        Ok((target_server, delete_topic_cfg))
    }
fn validate ( self ) -> Result < ( SpuControllerConfig , DeleteTopicConfig ) , CliError > { // profile specific configurations (target server) let target_server = SpuControllerConfig :: new ( self . sc , self . kf , self . profile ) ? ; let delete_topic_cfg = DeleteTopicConfig { name : self . topic } ; // return server separately from config Ok ( ( target_server , delete_topic_cfg ) ) }
Validate cli options.
Validate cli options .
self
self