Skip to main content

Module sending

Module sending 

Source

Re-exportsยง

use std::collections::HashMap; ๐Ÿ”’
use std::io::Write; ๐Ÿ”’
use std::iter::once; ๐Ÿ”’
use std::iter::repeat_with; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use std::sync::Mutex as StdMutex; ๐Ÿ”’
use std::time::Duration; ๐Ÿ”’
use std::time::Instant; ๐Ÿ”’
use async_trait::async_trait; ๐Ÿ”’
use futures::Stream; ๐Ÿ”’
use futures::StreamExt; ๐Ÿ”’
use loole::Receiver; ๐Ÿ”’
use loole::Sender; ๐Ÿ”’
use loole::unbounded; ๐Ÿ”’
use ruma::OwnedServerName; ๐Ÿ”’
use ruma::RoomId; ๐Ÿ”’
use ruma::ServerName; ๐Ÿ”’
use ruma::UserId; ๐Ÿ”’
use tokio::task::JoinSet; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::Server; ๐Ÿ”’
use tuwunel_core::debug_warn; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use tuwunel_core::smallvec::SmallVec; ๐Ÿ”’
use tuwunel_core::utils::IterStream; ๐Ÿ”’
use tuwunel_core::utils::ReadyExt; ๐Ÿ”’
use tuwunel_core::utils::TryReadyExt; ๐Ÿ”’
use tuwunel_core::utils::result::LogErr; ๐Ÿ”’
pub use self::data::Data;
pub use self::data::Park;
pub use self::dest::Destination;
pub use self::sender::EDU_LIMIT;
pub use self::sender::PDU_LIMIT;
use self::queue::Control; ๐Ÿ”’
use self::worker::num_senders; ๐Ÿ”’
use crate::appservice::RegistrationInfo; ๐Ÿ”’
use crate::appservice::receivers; ๐Ÿ”’
use crate::rooms::timeline::RawPduId; ๐Ÿ”’

Modulesยง

data ๐Ÿ”’
dest ๐Ÿ”’
device ๐Ÿ”’
queue ๐Ÿ”’
sender ๐Ÿ”’
worker ๐Ÿ”’

Structsยง

Msg ๐Ÿ”’
Service
Outbound delivery of PDUs and EDUs to federation peers, appservices, and push gateways.

Enumsยง

SendingEvent
One queued unit of delivery.

Constantsยง

EDU_BUF_CAP ๐Ÿ”’
EDU_VEC_CAP ๐Ÿ”’
TAG_BADGE_REFRESH ๐Ÿ”’
TAG_DEVICE_LIST_CHANGED ๐Ÿ”’
TAG_PREFIX_LEN ๐Ÿ”’
TAG_TO_DEVICE ๐Ÿ”’

Type Aliasesยง

Channel ๐Ÿ”’
EduBuf
Inline buffer for one serialized EDU.
EduVec
Inline collection of the EDU buffers composed for one transaction.
StalledDestinations ๐Ÿ”’