Expand description
The context traits. Import them to call context methods on a concrete context type.
Re-exports§
pub use crate::context::XmtpMlsLocalContext;pub use crate::features::MlsFeatures;
Structs§
- Local
Context - The local context a XMTP MLS needs to function:
Traits§
- Attachment
Context - A context the attachment code runs on: core and the attachment runtime.
- Attachment
Features - The attachments feature slot: the client’s attachment runtime.
- Core
Context - The context core code runs on: storage, the API client, the identity,
events and the client’s plain settings.
Featuresis what the crates above core add; each of them reads its own part through its own trait. - Engine
Features - The engine’s feature slot: the client’s incoming runtime.
- Identity
Context - A context the identity code runs on: core and identity resolution.
- Identity
Features - Identity’s feature slot: the registry that coalesces exact identity lookups.
- Xmtp
Shared Context - A context the engine runs on: core, identity resolution and the incoming runtime.