Skip to main content

Module prev_walk_rooms

Module prev_walk_rooms 

Source

Re-exportsยง

use std::cmp::Ordering; ๐Ÿ”’
use std::fmt::Write; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’
use std::time::Instant; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use ruma::OwnedRoomId; ๐Ÿ”’
use ruma::RoomId; ๐Ÿ”’
use ruma::ServerName; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::itertools::Itertools; ๐Ÿ”’
use tuwunel_core::utils::BoolExt; ๐Ÿ”’
use tuwunel_core::utils::math::usize_from_u64_truncated; ๐Ÿ”’
use tuwunel_core::utils::string::collect_stream; ๐Ÿ”’
use tuwunel_core::utils::string::markdown_cell; ๐Ÿ”’
use tuwunel_core::utils::string::plural; ๐Ÿ”’
use tuwunel_core::utils::time::Elapsed; ๐Ÿ”’
use tuwunel_core::utils::time::format as format_time; ๐Ÿ”’
use tuwunel_service::rooms::event_handler::PrevWalkOutcome; ๐Ÿ”’
use tuwunel_service::rooms::event_handler::PrevWalkPass; ๐Ÿ”’
use tuwunel_service::rooms::event_handler::PrevWalkRoom; ๐Ÿ”’
use crate::admin_command; ๐Ÿ”’

Constantsยง

PASSES_HEAD ๐Ÿ”’
ROOMS_HEAD ๐Ÿ”’

Functionsยง

busiest_first ๐Ÿ”’
render_rooms ๐Ÿ”’
Ranks the rooms busiest first and renders the top limit.
write_pass ๐Ÿ”’
write_passes ๐Ÿ”’
write_room ๐Ÿ”’
write_rooms ๐Ÿ”’