Skip to main content

Module opts

Module opts 

Source
Expand description

Caller contract and result types for a fetch: Opts in, Outcome out.

Op selects the federation endpoint and folds into the single-flight dedup key; FanoutGrowth schedules the staged fan-out width.

Re-exportsΒ§

use std::num::NonZeroUsize; πŸ”’
use bytes::Bytes; πŸ”’
use ruma::MilliSecondsSinceUnixEpoch; πŸ”’
use ruma::OwnedEventId; πŸ”’
use ruma::OwnedRoomId; πŸ”’
use ruma::OwnedServerName; πŸ”’
use ruma::RoomVersionId; πŸ”’
use ruma::api::Direction; πŸ”’
use tuwunel_core::smallvec::SmallVec; πŸ”’
use crate::federation::Candidates; πŸ”’

StructsΒ§

Opts
Describes one caller’s federation fetch policy.
Outcome
Contains a raw response body and the server that supplied it.

EnumsΒ§

FanoutGrowth
Schedules the concurrent candidate width for each staged fan-out round.
Op
Identifies the federation endpoint targeted by a fetch.

Type AliasesΒ§

EventWindow
Stores an event-ID window for batch federation operations.