Skip to main content

Module notification

Module notification 

Source

Re-exportsยง

use std::collections::BTreeMap; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use std::fmt::Debug; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use futures::future::join3; ๐Ÿ”’
use futures::stream::select; ๐Ÿ”’
use ruma::EventId; ๐Ÿ”’
use ruma::OwnedEventId; ๐Ÿ”’
use ruma::RoomId; ๐Ÿ”’
use ruma::UserId; ๐Ÿ”’
use ruma::events::receipt::ReceiptThread; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use serde::Serialize; ๐Ÿ”’
use tuwunel_core::Error; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use tuwunel_core::trace; ๐Ÿ”’
use tuwunel_core::utils::bytes::escape_bytes; ๐Ÿ”’
use tuwunel_core::utils::bytes::u64_from_bytes; ๐Ÿ”’
use tuwunel_core::utils::stream::BroadbandExt; ๐Ÿ”’
use tuwunel_core::utils::stream::ReadyExt; ๐Ÿ”’
use tuwunel_core::utils::stream::TryIgnore; ๐Ÿ”’
use tuwunel_core::warn; ๐Ÿ”’
use tuwunel_database::Deserialized; ๐Ÿ”’
use tuwunel_database::Ignore; ๐Ÿ”’
use tuwunel_database::IgnoreAll; ๐Ÿ”’
use tuwunel_database::Interfix; ๐Ÿ”’
use tuwunel_database::KeyBuf; ๐Ÿ”’
use tuwunel_database::deserialize_from_slice as deserialize_key; ๐Ÿ”’
use tuwunel_matrix::Event; ๐Ÿ”’

Functionsยง

highlight_kv ๐Ÿ”’
merge_thread_count ๐Ÿ”’
notification_kv ๐Ÿ”’
warn_unreadable ๐Ÿ”’

Type Aliasesยง

ThreadCounts ๐Ÿ”’
Per-thread unread counts: (notification, highlight) keyed by thread root.
ThreadLastReads ๐Ÿ”’
Per-thread last-read counts keyed by thread root.