fn insert_or_replace(
        &mut self,
        id: KeyId,
        key: CspSecretKey,
        scope: Option<Scope>,
    ) -> Result<(), SecretKeyStoreError> {
        self.remove(&id);
        self.insert(id, key, scope)
    }
/// Inserts a key with a given `id` into the store, replacing any existing
/// entry.
///
/// * If there is no existing key with the given `id` in the store, the new
///   key is inserted.
/// * If there is a key with the given `id` in the store, it is replaced.
Inserts a key with a given `id` into the store, replacing any existing
entry.

If there is no existing key with the given `id` in the store, the new
key is inserted.
If there is a key with the given `id` in the store, it is replaced.
Inserts a key with a given ` id ` into the store replacing any existing entry . If there is no existing key with the given ` id ` in the store the new key is inserted . If there is a key with the given ` id ` in the store it is replaced .
fn insert_or_replace(
        &mut self,
        id: KeyId,
        key: CspSecretKey,
        scope: Option<Scope>,
    ) -> Result<(), SecretKeyStoreError> {
        self.remove(&id);
        self.insert(id, key, scope)
    }
fn insert_or_replace ( & mut self , id : KeyId , key : CspSecretKey , scope : Option < Scope > , ) -> Result < ( ) , SecretKeyStoreError > { self . remove ( & id ) ; self . insert ( id , key , scope ) }
Inserts a key with a given `id` into the store, replacing any existing
entry.
Inserts a key with a given ` id ` into the store replacing any existing entry .
&mut self
id
KeyId
key
CspSecretKey
scope
Option<Scope>
&mut self
id
KeyId
key
CspSecretKey
scope
Option<Scope>