pub enum KeySource {
EnvVar,
EnvFile(PathBuf),
Auto(PathBuf),
}Expand description
Where the resolved key came from.
Variants§
EnvVar
From MURK_KEY environment variable.
EnvFile(PathBuf)
From MURK_KEY_FILE environment variable (path).
Auto(PathBuf)
Auto-discovered at ~/.config/murk/keys/<hash>.
Implementations§
Trait Implementations§
impl Eq for KeySource
impl StructuralPartialEq for KeySource
Auto Trait Implementations§
impl Freeze for KeySource
impl RefUnwindSafe for KeySource
impl Send for KeySource
impl Sync for KeySource
impl Unpin for KeySource
impl UnsafeUnpin for KeySource
impl UnwindSafe for KeySource
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