[−][src]Struct pamsm::Pam
Opaque PAM handle, with additional native methods available via PamLibExt
.
Trait Implementations
impl PamLibExt for Pam
[src]
fn get_user(&self, prompt: Option<&str>) -> PamResult<Option<&CStr>>
[src]
fn get_cached_user(&self) -> PamResult<Option<&CStr>>
[src]
fn get_cached_authtok(&self) -> PamResult<Option<&CStr>>
[src]
fn get_authtok(&self, prompt: Option<&str>) -> PamResult<Option<&CStr>>
[src]
fn set_authtok(&self, authtok: &CString) -> PamResult<()>
[src]
fn get_rhost(&self) -> PamResult<Option<&CStr>>
[src]
fn get_ruser(&self) -> PamResult<Option<&CStr>>
[src]
fn conv(
&self,
prompt: Option<&str>,
style: PamMsgStyle
) -> PamResult<Option<&CStr>>
[src]
&self,
prompt: Option<&str>,
style: PamMsgStyle
) -> PamResult<Option<&CStr>>
Auto Trait Implementations
impl RefUnwindSafe for Pam
impl !Send for Pam
impl !Sync for Pam
impl Unpin for Pam
impl UnwindSafe for Pam
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,