Function rsasl::error::rsasl_errname_to_str [−][src]
pub fn rsasl_errname_to_str(err: Gsasl_rc) -> Option<&'static str>
Expand description
Convert an error type to the human readable name of that error.
i.e. rsasl_errname_to_str(GSASL_OK) -> “GSASL_OK”. Returns None
when an invalid Gsasl_rc is
passed.