pub enum PamResult {
Success,
Failure,
Error {
kind: PamError,
message: String,
},
}Expand description
How an attempt ended.
Variants§
Success
The user is who they said.
Failure
PAM refused the answers, as for a wrong password.
Error
Something kept PAM from deciding, such as an unknown user.
Trait Implementations§
impl StructuralPartialEq for PamResult
Auto Trait Implementations§
impl Forget for PamResult
impl Freeze for PamResult
impl Move for PamResult
impl RefUnwindSafe for PamResult
impl Send for PamResult
impl Sync for PamResult
impl Unpin for PamResult
impl UnsafeUnpin for PamResult
impl UnwindSafe for PamResult
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