Skip to main content

Module space

Module space 

Source

Re-exportsยง

use std::collections::BTreeSet; ๐Ÿ”’
use std::collections::VecDeque; ๐Ÿ”’
use std::convert::identity; ๐Ÿ”’
use std::str::FromStr; ๐Ÿ”’
use axum::extract::State; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use futures::future::ready; ๐Ÿ”’
use futures::stream::once; ๐Ÿ”’
use futures::stream::unfold; ๐Ÿ”’
use ruma::OwnedRoomId; ๐Ÿ”’
use ruma::OwnedServerName; ๐Ÿ”’
use ruma::RoomId; ๐Ÿ”’
use ruma::UInt; ๐Ÿ”’
use ruma::UserId; ๐Ÿ”’
use ruma::api::client::space::get_hierarchy; ๐Ÿ”’
use tuwunel_core::Err; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::debug_error; ๐Ÿ”’
use tuwunel_core::error; ๐Ÿ”’
use tuwunel_core::error; ๐Ÿ”’
use tuwunel_core::smallvec::SmallVec; ๐Ÿ”’
use tuwunel_core::trace; ๐Ÿ”’
use tuwunel_core::utils::BoolExt; ๐Ÿ”’
use tuwunel_core::utils::stream::IterStream; ๐Ÿ”’
use tuwunel_core::utils::stream::ReadyExt; ๐Ÿ”’
use tuwunel_core::utils::stream::WidebandExt; ๐Ÿ”’
use tuwunel_service::Services; ๐Ÿ”’
use tuwunel_service::rooms::short::ShortRoomId; ๐Ÿ”’
use tuwunel_service::rooms::spaces::Accessibility; ๐Ÿ”’
use tuwunel_service::rooms::spaces::Identifier; ๐Ÿ”’
use tuwunel_service::rooms::spaces::PaginationToken; ๐Ÿ”’
use tuwunel_service::rooms::spaces::get_parent_children_via; ๐Ÿ”’
use tuwunel_service::rooms::spaces::is_summary_serializable; ๐Ÿ”’
use tuwunel_service::rooms::spaces::summary_to_chunk; ๐Ÿ”’
use crate::Ruma; ๐Ÿ”’

Structsยง

HierarchyArgs
Inputs for get_client_hierarchy, shared by the client-server /hierarchy route and the admin room-hierarchy endpoint.

Functionsยง

get_client_hierarchy
Traverses a room hierarchy with the supplied visibility policy.
get_hierarchy_route ๐Ÿ”’
GET /_matrix/client/v1/rooms/{room_id}/hierarchy