replace json with tls_codec serialization #34
Annotations
5 errors
test
Process completed with exit code 101.
|
mismatched types:
xmtp_mls/src/storage/sql_key_store.rs#L465
error[E0308]: mismatched types
--> xmtp_mls/src/storage/sql_key_store.rs:465:9
|
459 | TreeSync: traits::TreeSync<CURRENT_VERSION>,
| -------- expected this type parameter
...
463 | ) -> Result<Option<TreeSync>, Self::Error> {
| ------------------------------------- expected `std::result::Result<std::option::Option<TreeSync>, storage::sql_key_store::MemoryStorageError>` because of return type
464 | let key = build_key::<CURRENT_VERSION, &GroupId>(TREE_LABEL, group_id)?;
465 | self.read::<CURRENT_VERSION>(TREE_LABEL, &key)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Option<TreeSync>, ...>`, found `Result<Option<Vec<u8>>, ...>`
|
= note: expected enum `std::result::Result<std::option::Option<TreeSync>, _>`
found enum `std::result::Result<std::option::Option<std::vec::Vec<u8>>, _>`
|
mismatched types:
xmtp_mls/src/hpke.rs#L59
error[E0308]: mismatched types
--> xmtp_mls/src/hpke.rs:59:25
|
59 | Ok(hash_ref) => hash_ref,
| ^^^^^^^^ expected `Option<HashReference>`, found `Option<Vec<u8>>`
|
= note: expected enum `std::option::Option<openmls::prelude_test::hash_ref::HashReference>`
found enum `std::option::Option<std::vec::Vec<u8>>`
|
mismatched types:
xmtp_mls/src/storage/sql_key_store.rs#L465
error[E0308]: mismatched types
--> xmtp_mls/src/storage/sql_key_store.rs:465:9
|
459 | TreeSync: traits::TreeSync<CURRENT_VERSION>,
| -------- expected this type parameter
...
463 | ) -> Result<Option<TreeSync>, Self::Error> {
| ------------------------------------- expected `std::result::Result<std::option::Option<TreeSync>, storage::sql_key_store::MemoryStorageError>` because of return type
464 | let key = build_key::<CURRENT_VERSION, &GroupId>(TREE_LABEL, group_id)?;
465 | self.read::<CURRENT_VERSION>(TREE_LABEL, &key)
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ expected `Result<Option<TreeSync>, ...>`, found `Result<Option<Vec<u8>>, ...>`
|
= note: expected enum `std::result::Result<std::option::Option<TreeSync>, _>`
found enum `std::result::Result<std::option::Option<std::vec::Vec<u8>>, _>`
|
mismatched types:
xmtp_mls/src/hpke.rs#L59
error[E0308]: mismatched types
--> xmtp_mls/src/hpke.rs:59:25
|
59 | Ok(hash_ref) => hash_ref,
| ^^^^^^^^ expected `Option<HashReference>`, found `Option<Vec<u8>>`
|
= note: expected enum `std::option::Option<openmls::prelude_test::hash_ref::HashReference>`
found enum `std::option::Option<std::vec::Vec<u8>>`
|