Skip to main content

Module binding

Module binding 

Source
Expand description

Persistent email-to-user bindings.

Forward rows retain binding metadata for each user, while reverse rows resolve one canonical email to its owner. Streamed listing and point lookup expose the two index directions to account and invitation flows.

Re-exportsยง

use futures::Stream; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use ruma::MilliSecondsSinceUnixEpoch; ๐Ÿ”’
use ruma::OwnedUserId; ๐Ÿ”’
use ruma::UserId; ๐Ÿ”’
use ruma::thirdparty::Medium; ๐Ÿ”’
use ruma::thirdparty::ThirdPartyIdentifier; ๐Ÿ”’
use ruma::thirdparty::ThirdPartyIdentifierInit; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use tuwunel_core::result::NotFound; ๐Ÿ”’
use tuwunel_core::utils::stream::TryIgnore; ๐Ÿ”’
use tuwunel_database::Cbor; ๐Ÿ”’
use tuwunel_database::Deserialized; ๐Ÿ”’
use tuwunel_database::Ignore; ๐Ÿ”’
use tuwunel_database::Interfix; ๐Ÿ”’
use super::Binding; ๐Ÿ”’
use super::EmailKey; ๐Ÿ”’
use super::canonicalize_email; ๐Ÿ”’