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§
pub use ruma;pub use store_locks::LEASE_DURATION_MS;
Modules§
- debug
- Helpers for creating
std::fmt::Debugimplementations. - deserialized_
responses - executor
- Abstraction over an executor so we can spawn tasks under WASM the same way we do usually.
- failures_
cache - A TTL cache which can be used to time out repeated operations that might experience intermittent failures.
- linked_
chunk - A linked chunk is the underlying data structure that holds all events.
- locks
- Simplified locks hat panic instead of returning a
Resultwhen the lock is poisoned. - ring_
buffer - sleep
- store_
locks - Collection of small helpers that implement store-based locks.
- timeout
- tracing_
timer - ttl_
cache - A TTL cache which can be used to time out repeated operations that might experience intermittent failures.
Macros§
- boxed_
into_ future - timer
- Macro to create a RAII timer that will log a
tracingevent once it’s dropped.
Traits§
- Async
Trait Deps - Super trait that is used for our store traits, this trait will differ if
it’s used on WASM. WASM targets will not require
SendandSyncto have implemented, while other targets will. - Send
Outside Wasm - Alias for
Sendon non-wasm, empty trait (implemented by everything) on wasm. - Sync
Outside Wasm - Alias for
Syncon non-wasm, empty trait (implemented by everything) on wasm.