Skip to main contentModule admin
Source use std::collections::BTreeMap; ๐ use std::sync::Arc; ๐ use std::sync::Mutex as StdMutex; ๐ use std::sync::RwLock as StdRwLock; ๐ use std::time::Instant; ๐ use async_trait::async_trait; ๐ pub use context::Context;pub use create::create_admin_room;use futures::TryFutureExt; ๐ use ruma::OwnedEventId; ๐ use ruma::OwnedRoomAliasId; ๐ use ruma::OwnedRoomId; ๐ use ruma::OwnedUserId; ๐ use ruma::RoomId; ๐ use ruma::RoomOrAliasId; ๐ use ruma::UserId; ๐ use tokio::sync::mpsc::Receiver; ๐ use tokio::sync::mpsc::Sender; ๐ use tokio::sync::mpsc::channel; ๐ use tuwunel_core::Err; ๐ use tuwunel_core::Result; ๐ use tuwunel_core::debug; ๐ use tuwunel_core::debug; ๐ use tuwunel_core::err; ๐ use tuwunel_core::error::default_log; ๐ use tuwunel_core::implement; ๐ use tuwunel_core::utils::ReadyExt; ๐ use tuwunel_core::warn; ๐ use tuwunel_matrix::Event; ๐ use tuwunel_matrix::event::MsgType; ๐ use crate::rooms::state::RoomMutexGuard; ๐
- attach ๐
- console
- context
- create
- execute ๐
- grant ๐
- notices ๐
- processor ๐
- register ๐
- Synapse-compatible shared-secret registration backend.
- respond ๐
- CommandInput
- Inputs to a command: its multi-line text, the event to reply to, and who
sent it.
- Service
- CommandOutput
- Textual output of a completed command. Markdown is the norm; Plain carries
clap usage and error text, which must never be markdown-rendered.
- Queue ๐
- State of the command queueโs sending half.
- COMMAND_QUEUE_LIMIT ๐
- Maximum number of commands which can be queued for dispatch.
- Command
- Root of a clap command tree installed by a downstream crate.
- ProcessorResult
- Carries a rendered command outcome while preserving its status.