pub enum SecretChoice {
Command(Vec<String>),
Shell(String),
Raw(SecretString),
}Available on crate feature
wizard and (crate features imap or jmap or smtp) only.Expand description
Variants§
Command(Vec<String>)
An argv command (program + arguments, no shell) whose stdout is the secret. The preferred form.
Shell(String)
A raw shell command line whose stdout is the secret — the fallback, run through the platform shell.
Raw(SecretString)
The secret stored raw (plaintext) in the configuration.
Auto Trait Implementations§
impl Freeze for SecretChoice
impl RefUnwindSafe for SecretChoice
impl Send for SecretChoice
impl Sync for SecretChoice
impl Unpin for SecretChoice
impl UnsafeUnpin for SecretChoice
impl UnwindSafe for SecretChoice
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more