pub enum Link {
EnvironmentOverride(&'static str),
FallbackKey(&'static dyn Key),
}Expand description
A way to link a key with other resources.
Variants§
EnvironmentOverride(&'static str)
The environment variable of the given name will override the value of this key.
FallbackKey(&'static dyn Key)
This config key is used as fallback if this key isn’t set.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Link
impl !RefUnwindSafe for Link
impl !Send for Link
impl !Sync for Link
impl Unpin for Link
impl !UnwindSafe for Link
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