pub struct NoopSecretProvider;Trait Implementations§
Source§impl Default for NoopSecretProvider
impl Default for NoopSecretProvider
Source§impl SecretProvider for NoopSecretProvider
impl SecretProvider for NoopSecretProvider
Source§fn get_encrypted<'a>(
&'a self,
_name: &'a str,
) -> Pin<Box<dyn Future<Output = Result<Option<EncryptedSecret>, String>> + Send + 'a>>
fn get_encrypted<'a>( &'a self, _name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<Option<EncryptedSecret>, String>> + Send + 'a>>
Retrieve and encrypt before returning to the effect recorder. Implementations
must not include plaintext credentials in either the value or an error.
Direct-only providers fail closed when used with recorded execution.
fn get<'a>( &'a self, _name: &'a str, ) -> Pin<Box<dyn Future<Output = Result<Option<String>, String>> + Send + 'a>>
Auto Trait Implementations§
impl Freeze for NoopSecretProvider
impl RefUnwindSafe for NoopSecretProvider
impl Send for NoopSecretProvider
impl Sync for NoopSecretProvider
impl Unpin for NoopSecretProvider
impl UnsafeUnpin for NoopSecretProvider
impl UnwindSafe for NoopSecretProvider
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