Trait MediaStoreIntegrationTests

Source
pub trait MediaStoreIntegrationTests {
    // Required methods
    async fn test_media_content(&self);
    async fn test_replace_media_key(&self);
}
Expand description

MediaStore integration tests.

This trait is not meant to be used directly, but will be used with the media_store_inner_integration_tests! macro.

Required Methods§

Source

async fn test_media_content(&self)

Test media content storage.

Source

async fn test_replace_media_key(&self)

Test replacing a MXID.

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§

Source§

impl<Store> MediaStoreIntegrationTests for Store
where Store: MediaStore + Debug,