Skip to main content

Module event_fetcher

Module event_fetcher 

Source

Re-exportsยง

use std::num::NonZeroUsize; ๐Ÿ”’
use clap::Subcommand; ๐Ÿ”’
use ruma::OwnedEventId; ๐Ÿ”’
use ruma::OwnedRoomId; ๐Ÿ”’
use ruma::OwnedServerName; ๐Ÿ”’
use tokio::time::Instant; ๐Ÿ”’
use tuwunel_core::Result; ๐Ÿ”’
use tuwunel_service::fetcher::Op; ๐Ÿ”’
use tuwunel_service::fetcher::Opts; ๐Ÿ”’
use crate::Context; ๐Ÿ”’
use crate::admin_command_dispatch; ๐Ÿ”’

Modulesยง

backfill ๐Ÿ”’
event ๐Ÿ”’
event_auth ๐Ÿ”’
missing_events ๐Ÿ”’
state_ids ๐Ÿ”’

Enumsยง

EventFetcherCommand ๐Ÿ”’
Drive the federation event-fetcher service directly, one subcommand per federation op. Diagnostic only: validation toggles default off so a malformed or unauthenticatable response is still shown; pass verify to turn the full poison-detection path on.

Functionsยง

base_opts ๐Ÿ”’
Validation toggles default off here, inverting Opts::new; only verify re-enables them.
process ๐Ÿ”’
run ๐Ÿ”’
Prints the response as pretty JSON, falling back to lossy UTF-8 on parse failure.