pub fn format_str( s: &str, length: Option<VarCharMaxLength>, fail_on_len: bool, ) -> Result<&str, Error>