pub struct Conversation {}
Expand description

Null implementation of ConversationHandler

When a PAM module asks for any user interaction an error is returned. Error and info messages are 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

Creates a new null conversation handler

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Obtains a string whilst echoing text (e.g. username) Read more

Obtains a string without echoing any text (e.g. password) Read more

Displays some text.

Displays an error message.

Called by Context directly after taking ownership of the handler. Read more

Obtains a yes/no answer (Linux specific). Read more

Exchanges binary data (Linux specific, experimental). Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.