Struct sq::Config[][src]

pub struct Config<'a> {
    pub(crate) force: bool,
    pub(crate) policy: P<'a>,
    pub(crate) unstable_cli_warning_emitted: bool,
}

Fields

force: boolpolicy: P<'a>unstable_cli_warning_emitted: bool

Have we emitted the warning yet?

Implementations

Opens the file (or stdout) for writing data that is safe for non-interactive use.

This is suitable for any kind of OpenPGP data, or decrypted or authenticated payloads.

Opens the file (or stdout) for writing data that is NOT safe for non-interactive use.

If our heuristic detects non-interactive use, we will emit a warning.

Opens the file (or stdout) for writing data that is safe for non-interactive use because it is an OpenPGP data stream.

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. 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

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

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

🔬 This is a nightly-only experimental API. (toowned_clone_into)

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more