We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
BackupDecryptionKey
DehydratedDeviceKey
Default
1 parent 110b516 commit af39cbfCopy full SHA for af39cbf
crates/matrix-sdk-crypto/src/store/mod.rs
@@ -754,6 +754,12 @@ impl BackupDecryptionKey {
754
}
755
756
757
+impl Default for BackupDecryptionKey {
758
+ fn default() -> Self {
759
+ Self::new()
760
+ }
761
+}
762
+
763
#[cfg(not(tarpaulin_include))]
764
impl Debug for BackupDecryptionKey {
765
fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
@@ -812,6 +818,12 @@ impl DehydratedDeviceKey {
812
818
813
819
814
820
821
+impl Default for DehydratedDeviceKey {
822
823
824
825
826
815
827
impl From<&[u8; 32]> for DehydratedDeviceKey {
816
828
fn from(value: &[u8; 32]) -> Self {
817
829
DehydratedDeviceKey { inner: Box::new(*value) }
0 commit comments