Skip to main content

Crate iris_chat_protocol

Crate iris_chat_protocol 

Source

Structs§

AppKeys
DebouncedFileStorage
DeviceEntry
FileStorageAdapter
InMemoryStorage
Invite
NdrUnixSeconds
NearbyFrameAssembler
NearbyInventoryItem
ProtocolAcceptInviteResult
ProtocolDecryptedMessage
ProtocolDeviceOwnerHint
ProtocolDirectSendResult
ProtocolEngine
ProtocolEngineDebugSnapshot
ProtocolGroupIncomingResult
ProtocolGroupSendResult
ProtocolMessageSessionDebugSnapshot
ProtocolPendingInboundTestDebug
ProtocolPendingOutbound
ProtocolPendingOutboundDebug
ProtocolPublish
ProtocolRetryBatch
ProtocolRetryResult
SessionManagerSnapshot
SessionState
SqliteStorageAdapter
SQLite-backed implementation of iris_chat_protocol::StorageAdapter. Keys are namespaced by (owner_pubkey_hex, device_pubkey_hex) so a single database serves multiple owner accounts and devices without keyspace collisions, matching the per-(owner, device) directory scoping the previous file-backed adapter used.
StorageError
UnixSeconds

Enums§

NearbyEnvelope
ProtocolEffect
ProtocolPendingReason

Constants§

APP_KEYS_EVENT_KIND
CHAT_MESSAGE_KIND
CHAT_SETTINGS_KIND
GROUP_SENDER_KEY_MESSAGE_KIND
INVITE_EVENT_KIND
INVITE_RESPONSE_KIND
MESSAGE_EVENT_KIND
NEARBY_ENVELOPE_VERSION
NEARBY_FRAME_HEADER_BYTES
NEARBY_MAX_FRAME_BODY_BYTES
PROTOCOL_SENDER_KEY_REPAIR_RETRY_DELAYS_SECS
REACTION_KIND
RECEIPT_KIND

Traits§

StorageAdapter

Functions§

decode_nearby_envelope_frame
decode_nearby_envelope_json
decode_nearby_frame_json
encode_nearby_envelope_frame
encode_nearby_envelope_json
encode_nearby_frame_json
invite_unsigned_event
invite_url
is_app_keys_event
nearby_frame_body_len_from_header
parse_invite_event
parse_invite_response_event
parse_invite_url
parse_message_event
read_nearby_frame

Type Aliases§

SharedConnection
StorageResult