pub enum KerberosError {
InvalidCredential(String),
Keytab(String),
Asn1(String),
Crypto(String),
Gss(String),
Protocol(String),
Unsupported(String),
}Expand description
Errors returned by Kerberos / GSS-API operations.
Variants§
InvalidCredential(String)
Keytab(String)
Asn1(String)
Crypto(String)
Gss(String)
Protocol(String)
Unsupported(String)
Trait Implementations§
Source§impl Debug for KerberosError
impl Debug for KerberosError
Source§impl Display for KerberosError
impl Display for KerberosError
Source§impl Error for KerberosError
impl Error for KerberosError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
Auto Trait Implementations§
impl Freeze for KerberosError
impl RefUnwindSafe for KerberosError
impl Send for KerberosError
impl Sync for KerberosError
impl Unpin for KerberosError
impl UnsafeUnpin for KerberosError
impl UnwindSafe for KerberosError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more