#[repr(C)]pub struct PamMessage {
pub msg_style: c_int,
pub msg: *const c_char,
}Expand description
Message struct to transfer authentication data to the user
From _pam_types.h:
“Used to pass prompting text, error messages, or other informatory text to the user. This structure is allocated and freed by the PAM library (or loaded module).”
Fields§
§msg_style: c_int§msg: *const c_charTrait Implementations§
Source§impl Clone for PamMessage
impl Clone for PamMessage
Source§fn clone(&self) -> PamMessage
fn clone(&self) -> PamMessage
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for PamMessage
Auto Trait Implementations§
impl !Send for PamMessage
impl !Sync for PamMessage
impl Freeze for PamMessage
impl RefUnwindSafe 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