Enum lockchain_core::errors::AuthError [−][src]
pub enum AuthError { FailedFork, FailedPAM, UserNotAuthorised, }
Common errors that can occur when authenticating users
Variants
FailedFork
Forking an authentication task failed
FailedPAM
Failed to authenticate via PAM due to a PAM related issue
UserNotAuthorised
The provided user either doesn't exist or is not authorised
Trait Implementations
impl Debug for Error
[src]
impl Debug for Error
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl StdError for Error
[src]
impl StdError for Error
fn description(&self) -> &str
1.0.0[src]
fn description(&self) -> &str
1.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