Skip to main content

Module threadrootid_latestcount

Module threadrootid_latestcount 

Source
Expand description

The thread pointers in threadrootid_latestcount.

A pointer holds the count of the one threadactivityid_rootid row that lists its thread, so a room’s thread list reads activity rows newest first and skips any row a pointer has moved past.

Re-exportsΒ§

use std::fmt; πŸ”’
use std::sync::Arc; πŸ”’
use futures::Stream; πŸ”’
use tuwunel_core::Result; πŸ”’
use tuwunel_core::result::NotFound; πŸ”’
use tuwunel_core::utils::TryReadyExt; πŸ”’
use tuwunel_core::utils::stream::TryBroadbandExt; πŸ”’
use tuwunel_database::KeyBuf; πŸ”’
use tuwunel_database::Map; πŸ”’
use tuwunel_matrix::PduCount; πŸ”’
use tuwunel_matrix::RawPduId; πŸ”’
use super::Check; πŸ”’
use super::Report; πŸ”’
use super::ScanExt; πŸ”’
use super::tally; πŸ”’
use crate::Services; πŸ”’
use crate::rooms::threads::activity_key; πŸ”’

EnumsΒ§

Finding
A thread pointer without the activity row it points at.

StaticsΒ§

CHECK πŸ”’

FunctionsΒ§

pointer πŸ”’
scan
Streams each pointer whose activity row is absent or names another root.
verify πŸ”’

Type AliasesΒ§

Pointer πŸ”’