pub async fn save_recovery_key(
        &self,
        recovery_key: Option<RecoveryKey>,
        version: Option<String>,
    ) -> Result<(), CryptoStoreError> {
        let changes = Changes { recovery_key, backup_version: version, ..Default::default() };
        self.store.save_changes(changes).await
    }
/// Store the recovery key in the cryptostore.
///
/// This is useful if the client wants to support gossiping of the backup
/// key.
Store the recovery key in the cryptostore.
This is useful if the client wants to support gossiping of the backup
key.
Store the recovery key in the cryptostore . This is useful if the client wants to support gossiping of the backup key .
pub async fn save_recovery_key(
        &self,
        recovery_key: Option<RecoveryKey>,
        version: Option<String>,
    ) -> Result<(), CryptoStoreError> {
        let changes = Changes { recovery_key, backup_version: version, ..Default::default() };
        self.store.save_changes(changes).await
    }
pub async fn save_recovery_key ( & self , recovery_key : Option < RecoveryKey > , version : Option < String > , ) -> Result < ( ) , CryptoStoreError > { let changes = Changes { recovery_key , backup_version : version , .. Default :: default ( ) } ; self . store . save_changes ( changes ) . await }
Store the recovery key in the cryptostore.
Store the recovery key in the cryptostore .
&self
recovery_key
Option<RecoveryKey>
version
Option<String>
&self
recovery_key
Option<RecoveryKey>
version
Option<String>