pub struct EnvSecretProvider { /* private fields */ }Available on crate feature
multi-tenant only.Expand description
Implementations§
Trait Implementations§
Source§impl Clone for EnvSecretProvider
impl Clone for EnvSecretProvider
Source§fn clone(&self) -> EnvSecretProvider
fn clone(&self) -> EnvSecretProvider
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 EnvSecretProvider
impl Debug for EnvSecretProvider
Source§impl SecretProvider for EnvSecretProvider
impl SecretProvider for EnvSecretProvider
Source§fn get_secret(
&self,
tenant: &TenantId,
key: &str,
) -> Result<Option<String>, ServerError>
fn get_secret( &self, tenant: &TenantId, key: &str, ) -> Result<Option<String>, ServerError>
Fetches secret for tenant and key.
Auto Trait Implementations§
impl Freeze for EnvSecretProvider
impl RefUnwindSafe for EnvSecretProvider
impl Send for EnvSecretProvider
impl Sync for EnvSecretProvider
impl Unpin for EnvSecretProvider
impl UnsafeUnpin for EnvSecretProvider
impl UnwindSafe for EnvSecretProvider
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