Skip to main content

Module prelude

Module prelude 

Source
Expand description

The context traits. Import them to call context methods on a concrete context type.

Re-exports§

pub use crate::attachments::AttachmentContext;
pub use crate::attachments::AttachmentFeatures;
pub use crate::context::XmtpMlsLocalContext;
pub use crate::context::XmtpSharedContext;
pub use crate::features::MlsFeatures;
pub use crate::groups::context::EngineFeatures;

Structs§

LocalContext
The local context a XMTP MLS needs to function:

Traits§

CoreContext
The context core code runs on: storage, the API client, the identity, events and the client’s plain settings. Features is what the crates above core add; each of them reads its own part through its own trait.
IdentityContext
A context the identity code runs on: core and identity resolution.
IdentityFeatures
Identity’s feature slot: the registry that coalesces exact identity lookups.