pub enum KeyPart {
File(String),
Env(String),
}Expand description
One part of a warm key.
Variants§
File(String)
A workspace-relative file, by its content.
Env(String)
An environment variable, by its value.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for KeyPart
impl RefUnwindSafe for KeyPart
impl Send for KeyPart
impl Sync for KeyPart
impl Unpin for KeyPart
impl UnsafeUnpin for KeyPart
impl UnwindSafe for KeyPart
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