Skip to main content

Module room_state

Module room_state 

Source
Expand description

Resolves the current state snapshot for a room.

These adapters obtain a room’s current short-state hash and delegate to the historical snapshot readers. Stream variants yield a missing room snapshot as an error and otherwise pass the delegated reader’s items through unchanged.

Re-exportsΒ§

use futures::Stream; πŸ”’
use futures::StreamExt; πŸ”’
use futures::TryFutureExt; πŸ”’
use ruma::OwnedEventId; πŸ”’
use ruma::RoomId; πŸ”’
use ruma::events::StateEventType; πŸ”’
use serde::Deserialize; πŸ”’
use serde::Deserialize; πŸ”’
use tuwunel_core::Result; πŸ”’
use tuwunel_core::err; πŸ”’
use tuwunel_core::implement; πŸ”’
use tuwunel_matrix::Event; πŸ”’
use tuwunel_matrix::Pdu; πŸ”’
use tuwunel_matrix::StateKey; πŸ”’