pub fn str_err_codes(&self, err_codes: &motif::ErrorCodeRows) -> Result<String, Error> {
        let mut ctx = Context::new();
        ctx.insert("err_codes", err_codes);
        Ok(self.tera.render(ERROR_CODES_TERA, &ctx)?)
    }
/// Generates an enum with all Kafka error codes.
Generates an enum with all Kafka error codes.
Generates an enum with all Kafka error codes .
pub fn str_err_codes(&self, err_codes: &motif::ErrorCodeRows) -> Result<String, Error> {
        let mut ctx = Context::new();
        ctx.insert("err_codes", err_codes);
        Ok(self.tera.render(ERROR_CODES_TERA, &ctx)?)
    }
pub fn str_err_codes ( & self , err_codes : & motif :: ErrorCodeRows ) -> Result < String , Error > { let mut ctx = Context :: new ( ) ; ctx . insert ( " " , err_codes ) ; Ok ( self . tera . render ( ERROR_CODES_TERA , & ctx ) ? ) }
Generates an enum with all Kafka error codes.
Generates an enum with all Kafka error codes .
&self
err_codes
&motif::ErrorCodeRows