pub struct ProductionResolver;Expand description
Production resolver that dispatches each SecretSpec to the right
provider. Used by the qli binary; library callers can keep using
TestResolver (or write their own) for unit tests.
Implementations§
Trait Implementations§
Source§impl Clone for ProductionResolver
impl Clone for ProductionResolver
Source§fn clone(&self) -> ProductionResolver
fn clone(&self) -> ProductionResolver
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ProductionResolver
impl Debug for ProductionResolver
Source§impl Default for ProductionResolver
impl Default for ProductionResolver
Source§fn default() -> ProductionResolver
fn default() -> ProductionResolver
Returns the “default value” for a type. Read more
Source§impl SecretsResolver for ProductionResolver
impl SecretsResolver for ProductionResolver
Source§fn resolve_all(
&self,
specs: &[SecretSpec],
) -> Result<Vec<ResolvedSecret>, SecretsError>
fn resolve_all( &self, specs: &[SecretSpec], ) -> Result<Vec<ResolvedSecret>, SecretsError>
Resolve every secret in
specs. On any failure, return immediately
— the dispatcher discards everything and aborts before spawning.impl Copy for ProductionResolver
Auto Trait Implementations§
impl Freeze for ProductionResolver
impl RefUnwindSafe for ProductionResolver
impl Send for ProductionResolver
impl Sync for ProductionResolver
impl Unpin for ProductionResolver
impl UnsafeUnpin for ProductionResolver
impl UnwindSafe for ProductionResolver
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