pub fn load_config(&self, config_file: &str) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyLoadConfig(self.tdoc, CString::new(config_file).unwrap().as_ptr()) {
        0 => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy load config error"),
        }),
      }
    }
  }
/// Load an ASCII Tidy configuration file and set the configuration per its contents.
///
/// # Returns
/// Returns TidySeverity::Success upon success, or a TidyError if there was an error.
///
/// # Parameters
/// **config_file**	The complete path to the file to load.
Load an ASCII Tidy configuration file and set the configuration per its contents.
Load an ASCII Tidy configuration file and set the configuration per its contents .
pub fn load_config(&self, config_file: &str) -> Result<TidySeverity, TidyError> {
    unsafe {
      match tidyLoadConfig(self.tdoc, CString::new(config_file).unwrap().as_ptr()) {
        0 => Ok(TidySeverity::Success),
        _ => Err(TidyError {
          severity: TidySeverity::Severe,
          message: String::from("Tidy load config error"),
        }),
      }
    }
  }
pub fn load_config ( & self , config_file : & str ) -> Result < TidySeverity , TidyError > { unsafe { match tidyLoadConfig ( self . tdoc , CString :: new ( config_file ) . unwrap ( ) . as_ptr ( ) ) { 0 => Ok ( TidySeverity :: Success ) , _ => Err ( TidyError { severity : TidySeverity :: Severe , message : String :: from ( " " ) , } ) , } } }
Load an ASCII Tidy configuration file and set the configuration per its contents.
Load an ASCII Tidy configuration file and set the configuration per its contents .
Returns TidySeverity::Success upon success, or a TidyError if there was an error.
Returns TidySeverity :: Success upon success or a TidyError if there was an error .
&self
config_file
&str