Skip to main content

Module worker

Module worker 

Source

Re-exportsยง

use std::hash::BuildHasher; ๐Ÿ”’
use std::hash::BuildHasherDefault; ๐Ÿ”’
use std::hash::DefaultHasher; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::hash::Hash; ๐Ÿ”’
use std::iter::from_fn; ๐Ÿ”’
use std::mem::take; ๐Ÿ”’
use std::sync::Arc; ๐Ÿ”’
use ruma::ServerName; ๐Ÿ”’
use tokio::task::JoinError; ๐Ÿ”’
use tokio::task::JoinSet; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_core::debug; ๐Ÿ”’
use tuwunel_core::debug; ๐Ÿ”’
use tuwunel_core::err; ๐Ÿ”’
use tuwunel_core::error; ๐Ÿ”’
use tuwunel_core::error; ๐Ÿ”’
use tuwunel_core::implement; ๐Ÿ”’
use tuwunel_core::utils::available_parallelism; ๐Ÿ”’
use tuwunel_core::utils::math::usize_from_u64_truncated; ๐Ÿ”’
use super::Destination; ๐Ÿ”’
use super::Msg; ๐Ÿ”’
use super::Service; ๐Ÿ”’
use super::dest::DestinationRef; ๐Ÿ”’
use crate::Args; ๐Ÿ”’

Functionsยง

join_senders ๐Ÿ”’
Join the sender workers, stopping the rest on the first failure or panic.
log_flush ๐Ÿ”’
num_senders ๐Ÿ”’
reap_flushes ๐Ÿ”’
shard ๐Ÿ”’