matrix_sdk_base::store

Trait IntoStateStore

Source
pub trait IntoStateStore { }
Expand description

A type that can be type-erased into Arc<dyn StateStore>.

This trait is not meant to be implemented directly outside matrix-sdk-crypto, but it is automatically implemented for everything that implements StateStore.

Implementations on Foreign Types§

Source§

impl<T> IntoStateStore for Arc<T>
where T: StateStore + 'static,

Implementors§

Source§

impl<T> IntoStateStore for T
where T: StateStore + Sized + 'static,