Crate matrix_sdk_common

Source
Expand description

Common types that are used in the different matrix-sdk layers.

NOTE: These are common dependencies for the different matrix-sdk layers, you’re probably interested in the main matrix-sdk crate.

Re-exports§

Modules§

  • Helpers for creating std::fmt::Debug implementations.
  • Abstraction over an executor so we can spawn tasks under WASM the same way we do usually.
  • A TTL cache which can be used to time out repeated operations that might experience intermittent failures.
  • A linked chunk is the underlying data structure that holds all events.
  • Simplified locks hat panic instead of returning a Result when the lock is poisoned.
  • Collection of small helpers that implement store-based locks.

Macros§

Traits§

  • Super trait that is used for our store traits, this trait will differ if it’s used on WASM. WASM targets will not require Send and Sync to have implemented, while other targets will.
  • Alias for Send on non-wasm, empty trait (implemented by everything) on wasm.
  • Alias for Sync on non-wasm, empty trait (implemented by everything) on wasm.

Type Aliases§