#[repr(C)]pub struct PamXAuthData {
pub namelen: c_int,
pub name: *mut c_char,
pub datalen: c_int,
pub data: *mut c_char,
}Expand description
Special struct for the PAM_XAUTHDATA pam item
From _pam_types.h:
“Used by the PAM_XAUTHDATA pam item. Contains X authentication
data used by modules to connect to the user’s X display.
Note: this structure is intentionally compatible with xcb_auth_info_t.”
Fields§
§namelen: c_int§name: *mut c_char§datalen: c_int§data: *mut c_charTrait Implementations§
Source§impl Clone for PamXAuthData
impl Clone for PamXAuthData
Source§fn clone(&self) -> PamXAuthData
fn clone(&self) -> PamXAuthData
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 PamXAuthData
Auto Trait Implementations§
impl !Send for PamXAuthData
impl !Sync for PamXAuthData
impl Freeze for PamXAuthData
impl RefUnwindSafe for PamXAuthData
impl Unpin for PamXAuthData
impl UnsafeUnpin for PamXAuthData
impl UnwindSafe for PamXAuthData
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