#[repr(C)]pub struct PamResponse {
pub resp: *mut c_char,
pub resp_retcode: c_int,
}Expand description
Response struct to transfer the user’s response back to Linux-PAM
From _pam_types.h:
“Used to return the user’s response to the PAM library. This structure is allocated by the application program, and free()’d by the Linux-PAM library (or calling module).”
Fields§
§resp: *mut c_char§resp_retcode: c_intcurrently un-used, zero expected
Trait Implementations§
Source§impl Clone for PamResponse
impl Clone for PamResponse
Source§fn clone(&self) -> PamResponse
fn clone(&self) -> PamResponse
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PamResponse
impl Debug for PamResponse
impl Copy for PamResponse
Auto Trait Implementations§
impl Freeze for PamResponse
impl RefUnwindSafe for PamResponse
impl !Send for PamResponse
impl !Sync for PamResponse
impl Unpin for PamResponse
impl UnwindSafe for PamResponse
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