pub enum PamMessage {
Info(String),
Error(String),
}Expand description
A line PAM sent during an attempt, from Pam::messages, cut to
4 KiB.
Variants§
Info(String)
Something to show, such as how to use a fingerprint reader.
Error(String)
Something that went wrong, such as a locked account.
Trait Implementations§
Source§impl Clone for PamMessage
impl Clone for PamMessage
Source§impl Debug for PamMessage
impl Debug for PamMessage
Source§impl PartialEq for PamMessage
impl PartialEq for PamMessage
impl StructuralPartialEq for PamMessage
Auto Trait Implementations§
impl Forget for PamMessage
impl Freeze for PamMessage
impl Move for PamMessage
impl RefUnwindSafe for PamMessage
impl Send for PamMessage
impl Sync for PamMessage
impl Unpin for PamMessage
impl UnsafeUnpin for PamMessage
impl UnwindSafe for PamMessage
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