pub trait SecretManagerConfig: SecretManage {
type Config: Serialize + DeserializeOwned + Debug + Send + Sync;
// Required methods
fn to_config(&self) -> Option<Self::Config>;
fn from_config(config: &Self::Config) -> Result<Self, Self::Error>
where Self: Sized;
}Available on crate feature
client only.Required Associated Types§
Required Methods§
fn to_config(&self) -> Option<Self::Config>
fn from_config(config: &Self::Config) -> Result<Self, Self::Error>where
Self: Sized,
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementors§
Source§impl SecretManagerConfig for SecretManager
impl SecretManagerConfig for SecretManager
type Config = SecretManagerDto
Source§impl SecretManagerConfig for StrongholdAdapter
Available on crate feature stronghold only.
impl SecretManagerConfig for StrongholdAdapter
Available on crate feature
stronghold only.type Config = StrongholdDto
Source§impl SecretManagerConfig for LedgerSecretManager
Available on crate feature ledger_nano only.
impl SecretManagerConfig for LedgerSecretManager
Available on crate feature
ledger_nano only.