pub struct EnvironmentLoader;Expand description
Environment variable fallback implementation
Implementations§
Trait Implementations§
Source§impl Clone for EnvironmentLoader
impl Clone for EnvironmentLoader
Source§fn clone(&self) -> EnvironmentLoader
fn clone(&self) -> EnvironmentLoader
Returns a duplicate of the value. Read more
1.0.0 · 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 EnvironmentLoader
impl Debug for EnvironmentLoader
Source§impl Default for EnvironmentLoader
impl Default for EnvironmentLoader
Source§fn default() -> EnvironmentLoader
fn default() -> EnvironmentLoader
Returns the “default value” for a type. Read more
Source§impl SecretLoader for EnvironmentLoader
impl SecretLoader for EnvironmentLoader
Source§fn resolve_secret<'life0, 'life1, 'async_trait>(
&'life0 self,
reference: &'life1 str,
) -> Pin<Box<dyn Future<Output = OnePasswordResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resolve_secret<'life0, 'life1, 'async_trait>(
&'life0 self,
reference: &'life1 str,
) -> Pin<Box<dyn Future<Output = OnePasswordResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Resolve a single secret reference to its actual value
Source§fn process_config<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 str,
) -> Pin<Box<dyn Future<Output = OnePasswordResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn process_config<'life0, 'life1, 'async_trait>(
&'life0 self,
config: &'life1 str,
) -> Pin<Box<dyn Future<Output = OnePasswordResult<String>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Process a configuration string, resolving all 1Password references
Auto Trait Implementations§
impl Freeze for EnvironmentLoader
impl RefUnwindSafe for EnvironmentLoader
impl Send for EnvironmentLoader
impl Sync for EnvironmentLoader
impl Unpin for EnvironmentLoader
impl UnwindSafe for EnvironmentLoader
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