[][src]Module xaynet_server::services::fetchers

This module provides the services for serving data.

There are multiple such services and the Fetcher trait provides a single unifying interface for all of these.

Structs

Fetchers
MaskLengthRequest

MaskLengthService's request type

MaskLengthService

A service that serves the mask length for the current round.

ModelRequest

ModelService's request type

ModelService

A service that serves the latest available global model

RoundParamsRequest

RoundParamsService's request type

RoundParamsService

A service that serves the round parameters for the current round.

SeedDictRequest

SeedDictService's request type

SeedDictService

A service that serves the seed dictionary for the current round.

SumDictRequest

SumDictService's request type

SumDictService

A service that returns the sum dictionary for the current round.

Traits

Fetcher

A single interface for retrieving data from the coordinator.

Functions

fetcher

Construct a Fetcher service

Type Definitions

FetchError

An error returned by the Fetcher's method.

MaskLengthResponse

MaskLengthService's response type.

ModelResponse

ModelService's response type.

RoundParamsResponse

RoundParamsService's response type

SeedDictResponse

SeedDictService's response type.

SumDictResponse

SumDictService's response type.