pub enum Source {
EnvPassphrase,
EnvKey,
KeyFile(PathBuf),
KeyCommand,
Store(String),
}Expand description
Where a secret came from.
Variants§
EnvPassphrase
MNEMO_PASSPHRASE.
EnvKey
MNEMO_KEY.
KeyFile(PathBuf)
MNEMO_KEY_FILE.
KeyCommand
MNEMO_KEY_COMMAND.
Store(String)
A key-store entry; the text describes the store.
Trait Implementations§
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Forget for Source
impl Freeze for Source
impl Move for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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