Expand description
The rows of mediaid_user.
A key is a media id and the user who uploaded it. One check covers the key layout that came before, the other rows that do not name this serverβs media.
Re-exportsΒ§
use std::fmt;πuse std::str::from_utf8;πuse futures::Stream;πuse ruma::MxcUri;πuse ruma::OwnedMxcUri;πuse ruma::OwnedUserId;πuse ruma::UserId;πuse tuwunel_core::Result;πuse tuwunel_core::itertools::Itertools;πuse tuwunel_core::utils::BoolExt;πuse tuwunel_core::utils::TryReadyExt;πuse tuwunel_database::KeyBuf;πuse tuwunel_database::SEP;πuse tuwunel_database::keyval::Buffer;πuse super::Check;πuse super::Report;πuse super::ScanExt;πuse super::tally;πuse crate::Services;π
EnumsΒ§
- Legacy
- A
mediaid_userkey from before keys carried the uploader. - Remote
- A
mediaid_userrow with no business being in the column.
StaticsΒ§
FunctionsΒ§
- classify_
legacy π - Classifies one row as
legacydoes. - legacy
- Streams each
mediaid_userkey with no separator. - legacy_
finding π - media_
id π - Reads the media id of a key holding exactly a media id and a user id.
- remote
- Streams each separated
mediaid_userkey that fails to name this serverβs media. - remote_
finding π
Type AliasesΒ§
- Value π