Module api

Module api 

Source

Modules§

error 🔒
global_api
iroh
net
tor
ws

Structs§

ApiVersionSet
Set of api versions for each component (core + modules)
ConnectionState 🔒
ConnectionStateInner 🔒
Inner part of ConnectionState preserving state between attempts to initialize ConnectionState::connection
ConnectorRegistry
A set of available connectivity protocols a client can use to make network API requests (typically to federation).
ConnectorRegistryBuilder
Builder for ConnectorRegistry
DynGlobalApi
DynModuleApi
FederationApi
Federation API client
FederationError
An API request error when calling an entire federation
LegacyFederationStatus
The status of a server, including how it views its peers
LegacyPeerStatus
StatusResponse

Enums§

LegacyP2PConnectionStatus
OutputOutcomeError
PeerError
An API request error when calling a single federation peer

Constants§

VERSION_THAT_INTRODUCED_GET_SESSION_STATUS
VERSION_THAT_INTRODUCED_GET_SESSION_STATUS_V2

Traits§

Connector
FederationApiExt
An extension trait allowing to making federation-wide API call on top IRawFederationApi.
IGlobalFederationApi
The API for the global (non-module) endpoints
IGuardianConnection
A connection from api client to a federation guardian
IModuleFederationApi
Trait marker for the module (non-global) endpoints
IRawFederationApi
An API (module or global) that can query a federation

Functions§

deserialize_outcome

Type Aliases§

DynConnector
DynGuaridianConnection
A connection from api client to a federation guardian (type erased)
FederationResult
OutputOutcomeResult
PeerResult
SerdeOutputOutcome