pub enum Resolution<'a> {
Found(&'a str),
MissingKey,
MissingNamespace,
}Expand description
The outcome of resolving one SecretRef.
Self::MissingKey and Self::MissingNamespace are kept apart
because they need different remedies: a pair no dog has pushed is a dog
that has not reported yet, which a retry fixes, while a missing key is a
person’s to set.
Debug does not leak a value: Self::Found prints as Found(..).
Variants§
Found(&'a str)
The resolved value.
MissingKey
The operator’s store holds nothing for this key, or a provider has pushed this namespace for this environment and that push lacks the key.
MissingNamespace
No provider dog has pushed this namespace for this environment yet.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Resolution<'a>
impl<'a> RefUnwindSafe for Resolution<'a>
impl<'a> Send for Resolution<'a>
impl<'a> Sync for Resolution<'a>
impl<'a> Unpin for Resolution<'a>
impl<'a> UnsafeUnpin for Resolution<'a>
impl<'a> UnwindSafe for Resolution<'a>
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