Expand description
Leftover rows in readreceiptid_readreceipt.
A key is a room id, a stream count and a user id, then a thread kind on any row written since receipts became thread-aware. An older writer could leave a userβs previous receipt behind.
Re-exportsΒ§
use std::fmt;πuse std::mem::replace;πuse std::str::from_utf8;πuse futures::Stream;πuse ruma::RoomId;πuse ruma::UserId;πuse tuwunel_core::Result;πuse tuwunel_core::smallstr::SmallString;πuse tuwunel_core::utils::ReadyExt;πuse tuwunel_core::utils::TryReadyExt;πuse tuwunel_database::KeyBuf;πuse tuwunel_database::SEP;πuse super::Check;πuse super::Report;πuse super::ScanExt;πuse super::tally;πuse crate::Services;π
EnumsΒ§
- Finding
- A
readreceiptid_readreceiptrow left behind by an earlier receipt.
ConstantsΒ§
- COUNT π
StaticsΒ§
- CHECK π
FunctionsΒ§
- advance π
- Moves the walk on to a row, reporting whether it has the last rowβs holder.
- finding π
- holder π
- parse π
- Reads a keyβs room and user, and whether a thread kind follows the user.
- readable π
- Whether a thread kind decodes as the receipt reader takes it.
- scan
- Streams each repeated row and each key that cannot be read.
- split π