pub trait SecretStorage:
Send
+ Sync
+ Debug {
// Required method
fn read<'a>(&'a self, path: &'a str) -> ReadFuture<'a>;
}Expand description
A kind of secret storage (Vault, the db storage, values in memory).
Required Methods§
Sourcefn read<'a>(&'a self, path: &'a str) -> ReadFuture<'a>
fn read<'a>(&'a self, path: &'a str) -> ReadFuture<'a>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".