Skip to main content

Crate xmtp_events

Crate xmtp_events 

Source
Expand description

Live events for one client instance.

Structs§

ArchiveRestored
AttachmentFailed
AttachmentRef
ClientRejectedByServer
ConnectionStateChanged
ConsentChanged
ContentTypeId
The three values used to match a content codec.
ConversationJoined
ConversationPaused
ConversationRemoved
EventBuffer
A transaction’s pending events. Only EventBus::with_buffer can create it.
EventBus
One client’s live event bus. The client owns this value and passes writers down.
EventContext
Extra facts used by filters. A DM identifier is attached by the emitter.
EventEnvelope
One bus item. A write may carry a public event, an internal fact, or both.
EventFilter
Selects public kinds and, for worker subscribers, internal facts.
EventLease
A callback handoff. Drop it after the callback’s future completes.
GroupRef
HandleChanged
The display handle of an inbox changed.
HmacKeysUpdated
IdentityRegistered
InstallationRef
InstallationRevoked
Lagged
LockoutChanged
MembershipChanged
MessageDeleted
MessageReceived
MessageRef
MessageStatusChanged
MetadataChanged
NotificationsFailed
PublicBufferWriter
Public-only view of a transaction buffer.
PublicBusWriter
A weak, public-only handle for lower crates and shared resources.
Subscription
One independent, live subscription. Dropping it also closes it.

Enums§

ClientEvent
ConnectionState
ConsentEntityKind
ConsentState
ConversationType
DeletionCause
EventKind
The order is the order of the EVENT kind table.
JoinOrigin
LockoutChange
MessageStatus
RejectionCause
RemovalCause

Traits§

EventWriter
The only interface an emitter needs. A public-only crate uses an adapter.