Skip to main content

Crate iris_chat_core

Crate iris_chat_core 

Source

Modules§

desktop_nearby
image_proxy
local_relay
perflog
Minimal millisecond-resolution perf logger that writes straight to Android logcat (or stderr off-Android) without pulling in log + android_logger crates. Used to diagnose where time goes between an FFI dispatch, the core thread processing, and the UI reconcile.

Macros§

perflog
IrisPerf tag — adb logcat IrisPerf:I *:S shows only these.

Structs§

AccountSnapshot
AppState
AttachmentDownloadResult
BusyState
ChatMessageSnapshot
ChatThreadSnapshot
CurrentChatSnapshot
DesktopNearbyPeerSnapshot
DesktopNearbySnapshot
DeviceApprovalQrPayload
DeviceEntrySnapshot
DeviceRosterSnapshot
FfiApp
FfiDesktopNearby
GroupDetailsSnapshot
GroupMemberSnapshot
LinkDeviceSnapshot
MessageAttachmentSnapshot
MessageDeliveryTraceSnapshot
MessageReactionSnapshot
MessageReactor
MessageRecipientDeliverySnapshot
MobilePushNotificationResolution
MobilePushSessionSnapshot
MobilePushSubscriptionRequest
MobilePushSyncSnapshot
NetworkStatusSnapshot
OutgoingAttachment
PreferencesSnapshot
PublicInviteSnapshot
QrCodeMatrix
RelayConnectionSnapshot
Router
TypingIndicatorSnapshot
UniFfiTraitVtableAppReconciler
UniFfiTraitVtableDesktopNearbyObserver

Enums§

AppAction
AppUpdate
ChatKind
ChatMessageKind
DeliveryState
DeviceAuthorizationState
Screen

Traits§

AppReconciler
DesktopNearbyObserver

Functions§

build_mobile_push_create_subscription_request
build_mobile_push_delete_subscription_request
build_mobile_push_list_subscriptions_request
build_mobile_push_update_subscription_request
build_summary
decode_device_approval_qr
decrypt_mobile_push_notification_payload
Decrypt a notification payload against the persisted double-ratchet state under data_dir. Use from the FCM service (Android) or Notification Service Extension (iOS) where there’s no live FfiApp. Falls back to the generic resolver when keys, payload, or storage are unavailable so the user still gets some notification.
encode_device_approval_qr
encode_text_qr
Render text to a QR-code module matrix. Returns a square matrix encoded as 1/0 characters in row-major order. Returns None for inputs that don’t fit at the medium error-correction level.
is_trusted_test_build
is_valid_peer_input
mobile_push_subscription_id_key
normalize_peer_input
peer_input_to_hex
Convert any pubkey-shaped input (hex, npub, nprofile, …) to its canonical lowercase-hex form. The empty string is returned when the input can’t be parsed as a public key — callers expecting hex downstream can short-circuit on that.
peer_input_to_npub
Convert any pubkey-shaped input (hex, npub, nprofile, …) to its npub form. Returns the original string when it can’t be parsed as a public key.
proxied_image_url
relay_set_id
resolve_mobile_push_notification_payload
resolve_mobile_push_subscription_server_url
uniffi_iris_chat_core_fn_init_callback_vtable_appreconciler
uniffi_iris_chat_core_fn_init_callback_vtable_desktopnearbyobserver