pub struct Program {
    pub kind: Kind,
    pub stderr: bool,
    /* private fields */
}
Expand description

A program/executable implementing the credential helper protocol.

Fields

kind: Kind

The kind of program, ready for launch.

stderr: bool

If true, stderr is enabled, which is the default.

Implementations

Initialization

Create a new program of the given kind.

Parse the given input as per the custom helper definition, supporting !<script>, name and /absolute/name, the latter two also support arguments which are ignored here.

Builder

By default stderr of programs is inherited and typically displayed in the terminal.

Trait Implementations

Formats the value using the given formatter. 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 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.