Struct pam_client::conv_null::Conversation[][src]

pub struct Conversation {}

Null implementation of ConversationHandler

When a PAM module asks for any user interaction an error is returned. Error and info messages are and ignored.

This handler may be used for testing and for environments where no user interaction is possible, no credentials can be stored beforehand and failing is the only answer if some PAM module needs input.

Implementations

impl Conversation[src]

#[must_use]pub const fn new() -> Self[src]

Creates a new null conversation handler

Trait Implementations

impl Clone for Conversation[src]

impl ConversationHandler for Conversation[src]

impl Debug for Conversation[src]

impl Default for Conversation[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.