Enum lockchain_core::users::AuthError [−][src]
pub enum AuthError {
FailedFork,
FailedPAM,
UserNotAuthorised,
}Common errors that can occur when authenticating users
Variants
FailedForkForking an authentication task failed
FailedPAMFailed to authenticate via PAM due to a PAM related issue
UserNotAuthorisedThe provided user either doesn't exist or is not authorised
Trait Implementations
impl Debug for Error[src]
impl Debug for Errorfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl StdError for Error[src]
impl StdError for Errorfn description(&self) -> &str1.0.0[src]
fn description(&self) -> &str1.0.0
[src]This method is soft-deprecated. Read more
fn cause(&self) -> Option<&Error>1.0.0[src]
fn cause(&self) -> Option<&Error>1.0.0
[src]The lower-level cause of this error, if any. Read more
impl Display for Error[src]
impl Display for Error