mirror of
https://github.com/matrix-org/matrix-rust-sdk.git
synced 2026-05-07 23:44:53 -04:00
Export GossipRequest
The `matrix-sdk-store::CryptoStore` uses the type in its definition, so we export it to allow third party implementations.
This commit is contained in:
@@ -69,7 +69,7 @@ use zeroize::Zeroize;
|
||||
pub use self::sled::SledStore;
|
||||
use crate::{
|
||||
error::SessionUnpicklingError,
|
||||
gossiping::{GossipRequest, SecretInfo},
|
||||
gossiping::SecretInfo,
|
||||
identities::{
|
||||
user::{OwnUserIdentity, UserIdentities, UserIdentity},
|
||||
Device, ReadOnlyDevice, ReadOnlyUserIdentities, UserDevices,
|
||||
@@ -85,6 +85,8 @@ use crate::{
|
||||
/// A `CryptoStore` specific result type.
|
||||
pub type Result<T, E = CryptoStoreError> = std::result::Result<T, E>;
|
||||
|
||||
pub use crate::gossiping::GossipRequest;
|
||||
|
||||
/// A wrapper for our CryptoStore trait object.
|
||||
///
|
||||
/// This is needed because we want to have a generic interface so we can
|
||||
|
||||
Reference in New Issue
Block a user