Skip to main content

Crate fedimint_connectors

Crate fedimint_connectors 

Source

Modulesยง

error
http
iroh
metrics
tor
ws

Structsยง

ConnectionPool
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
ConnectorRegistryInner ๐Ÿ”’
Actual data shared between copies of ConnectorRegistry handle
IrohPeerInfo
Iroh-specific reachability details for a guardian endpoint.

Enumsยง

Connectivity
How a connection is currently reaching its peer.
PeerStatus
Per-peer connection state reported by the federation API.

Constantsยง

IROH_NEXT_PATH ๐Ÿ”’

Traitsยง

Connector
IConnection
Generic connection trait shared between IGuardianConnection and IGatewayConnection
IGatewayConnection
A connection from a client to a gateway
IGuardianConnection
A connection from api client to a federation guardian

Functionsยง

iroh_next_endpoint_url
Parse an advertised Iroh 1.0 endpoint ID into its API URL.
is_iroh_next_endpoint_url ๐Ÿ”’
preserve_iroh_next_marker ๐Ÿ”’

Type Aliasesยง

ConnectorInitFn ๐Ÿ”’
Type for connector initialization functions
DynConnector
DynGatewayConnection
A connection from api client to a gateway (type erased)
DynGuaridianConnection
A connection from api client to a federation guardian (type erased)
ServerResult