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Β§
- Fanout
Growth - Schedules the concurrent candidate width for each staged fan-out round.
- Op
- Identifies the federation endpoint targeted by a fetch.
Type AliasesΒ§
- Event
Window - Stores an event-ID window for batch federation operations.