SYMBOL INDEX (2131 symbols across 154 files) FILE: bindings/python/examples/download_global_model.py class Participant (line 12) | class Participant(xaynet_sdk.ParticipantABC): method __init__ (line 13) | def __init__(self, model: list) -> None: method deserialize_training_input (line 17) | def deserialize_training_input(self, global_model: list) -> list: method train_round (line 20) | def train_round(self, training_input: Optional[list]) -> list: method serialize_training_result (line 23) | def serialize_training_result(self, training_result: list) -> list: method participate_in_update_task (line 26) | def participate_in_update_task(self) -> bool: method on_new_global_model (line 29) | def on_new_global_model(self, global_model: Optional[list]) -> None: function main (line 36) | def main() -> None: FILE: bindings/python/examples/download_global_model_async.py function main (line 11) | def main() -> None: FILE: bindings/python/examples/hello_world.py class Participant (line 13) | class Participant(xaynet_sdk.ParticipantABC): method __init__ (line 14) | def __init__(self, model: list) -> None: method deserialize_training_input (line 18) | def deserialize_training_input(self, global_model: list) -> list: method train_round (line 21) | def train_round(self, training_input: Optional[list]) -> list: method serialize_training_result (line 27) | def serialize_training_result(self, training_result: list) -> list: method participate_in_update_task (line 30) | def participate_in_update_task(self) -> bool: method on_new_global_model (line 33) | def on_new_global_model(self, global_model: Optional[list]) -> None: function main (line 39) | def main() -> None: FILE: bindings/python/examples/hello_world_async.py function training (line 11) | def training(): function main (line 17) | def main() -> None: FILE: bindings/python/examples/keras_house_prices/keras_house_prices/data_handlers/data_handler.py class DataHandler (line 14) | class DataHandler(ABC): # pylint: disable=too-many-instance-attributes method __init__ (line 49) | def __init__( method read_data (line 72) | def read_data(self) -> None: method preprocess_data (line 77) | def preprocess_data(self) -> None: method create_testset (line 84) | def create_testset(self) -> None: method make_discrete_y (line 98) | def make_discrete_y(self) -> pd.Series: method make_iid_split (line 117) | def make_iid_split( method split_lists (line 149) | def split_lists( method make_total_split (line 189) | def make_total_split( method make_intermediate_split (line 232) | def make_intermediate_split( method split_data (line 273) | def split_data(self) -> None: method run (line 326) | def run(self) -> None: FILE: bindings/python/examples/keras_house_prices/keras_house_prices/data_handlers/regression_data.py class RegressionData (line 14) | class RegressionData(DataHandler): method __init__ (line 17) | def __init__( method fill_nan (line 24) | def fill_nan(self) -> None: method hot_encoding (line 86) | def hot_encoding(self) -> None: method scaling (line 94) | def scaling(self) -> None: method preprocess_data (line 106) | def preprocess_data(self) -> None: function main (line 114) | def main() -> None: FILE: bindings/python/examples/keras_house_prices/keras_house_prices/participant.py class Participant (line 19) | class Participant( # pylint: disable=too-few-public-methods,too-many-in... method __init__ (line 40) | def __init__(self, dataset_dir: str) -> None: method load_random_dataset (line 47) | def load_random_dataset(self, dataset_dir: str) -> None: method train_round (line 67) | def train_round(self, training_input: Optional[np.ndarray]) -> np.ndar... method deserialize_training_input (line 103) | def deserialize_training_input(self, global_model: list) -> np.ndarray: method serialize_training_result (line 106) | def serialize_training_result(self, training_result: np.ndarray) -> list: method on_stop (line 109) | def on_stop(self) -> None: function main (line 114) | def main() -> None: FILE: bindings/python/examples/keras_house_prices/keras_house_prices/regressor.py class Regressor (line 11) | class Regressor: method __init__ (line 18) | def __init__(self, dim: int): method train_n_epochs (line 27) | def train_n_epochs( method evaluate_on_test (line 40) | def evaluate_on_test( method get_shapes (line 60) | def get_shapes(self) -> List[Tuple[int, ...]]: method get_weights (line 63) | def get_weights(self) -> np.ndarray: method set_weights (line 66) | def set_weights(self, weights: np.ndarray) -> None: FILE: bindings/python/examples/multiple_participants.py class Participant (line 13) | class Participant(xaynet_sdk.ParticipantABC): method __init__ (line 14) | def __init__(self, p_id: int, model: list) -> None: method deserialize_training_input (line 19) | def deserialize_training_input(self, global_model: list) -> list: method train_round (line 22) | def train_round(self, training_input: Optional[list]) -> list: method serialize_training_result (line 28) | def serialize_training_result(self, training_result: list) -> list: method participate_in_update_task (line 31) | def participate_in_update_task(self) -> bool: method on_new_global_model (line 34) | def on_new_global_model(self, global_model: Optional[list]) -> None: function main (line 40) | def main() -> None: FILE: bindings/python/examples/participate_in_update.py function get_battery_level (line 14) | def get_battery_level(): class Participant (line 18) | class Participant(xaynet_sdk.ParticipantABC): method __init__ (line 19) | def __init__(self, model: list) -> None: method deserialize_training_input (line 23) | def deserialize_training_input(self, global_model: list) -> list: method train_round (line 26) | def train_round(self, training_input: Optional[list]) -> list: method serialize_training_result (line 32) | def serialize_training_result(self, training_result: list) -> list: method participate_in_update_task (line 35) | def participate_in_update_task(self) -> bool: method on_new_global_model (line 42) | def on_new_global_model(self, global_model: Optional[list]) -> None: function main (line 48) | def main() -> None: FILE: bindings/python/examples/restore.py function main (line 11) | def main() -> None: FILE: bindings/python/src/python_ffi.rs function xaynet_sdk (line 25) | fn xaynet_sdk(py: Python, m: &PyModule) -> PyResult<()> { type Participant (line 58) | struct Participant { method new (line 65) | pub fn new(url: String, scalar: f64, state: Option>) -> PyResu... method tick (line 91) | pub fn tick(&mut self) -> PyResult<()> { method set_model (line 106) | pub fn set_model(&mut self, local_model: &PyList) -> PyResult<()> { method made_progress (line 142) | pub fn made_progress(&self) -> PyResult { method should_set_model (line 159) | pub fn should_set_model(&self) -> PyResult { method task (line 173) | pub fn task(&self) -> PyResult { method new_global_model (line 195) | pub fn new_global_model(&self) -> PyResult { method global_model (line 209) | pub fn global_model(&mut self, py: Python) -> PyResult PyResult> { function init_logging (line 286) | fn init_logging() { FILE: bindings/python/xaynet_sdk/__init__.py function spawn_participant (line 8) | def spawn_participant( function spawn_async_participant (line 59) | def spawn_async_participant( FILE: bindings/python/xaynet_sdk/async_participant.py class AsyncParticipant (line 15) | class AsyncParticipant(threading.Thread): method __init__ (line 16) | def __init__( method run (line 42) | def run(self): method _notify (line 49) | def _notify(self): method _run (line 54) | def _run(self): method _tick (line 58) | def _tick(self): method get_global_model (line 73) | def get_global_model(self) -> Optional[list]: method set_local_model (line 93) | def set_local_model(self, local_model: list): method stop (line 119) | def stop(self) -> List[int]: FILE: bindings/python/xaynet_sdk/participant.py class ParticipantABC (line 19) | class ParticipantABC(ABC): method train_round (line 21) | def train_round(self, training_input: Optional[TrainingInput]) -> Trai... method serialize_training_result (line 38) | def serialize_training_result(self, training_result: TrainingResult) -... method deserialize_training_input (line 53) | def deserialize_training_input(self, global_model: list) -> TrainingIn... method participate_in_update_task (line 69) | def participate_in_update_task(self) -> bool: method on_new_global_model (line 84) | def on_new_global_model(self, global_model: Optional[TrainingInput]) -... method on_stop (line 98) | def on_stop(self) -> None: class InternalParticipant (line 113) | class InternalParticipant(threading.Thread): method __init__ (line 114) | def __init__( method run (line 148) | def run(self): method _fetch_global_model (line 157) | def _fetch_global_model(self): method _train (line 176) | def _train(self): method _run (line 188) | def _run(self): method _tick (line 192) | def _tick(self): method stop (line 220) | def stop(self) -> List[int]: FILE: rust/benches/messages/sum.rs function participant_sk (line 14) | fn participant_sk() -> SecretSigningKey { function to_bytes (line 18) | fn to_bytes(crit: &mut Criterion) { function from_bytes (line 47) | fn from_bytes(crit: &mut Criterion) { FILE: rust/benches/messages/update.rs function make_update (line 9) | fn make_update(dict_len: usize, mask_len: usize, total_expected_len: usi... FILE: rust/benches/models/from_primitives.rs function make_vector (line 8) | fn make_vector(bytes_size: usize) -> Vec { FILE: rust/benches/models/to_primitives.rs function make_model (line 9) | fn make_model(bytes_size: usize) -> Model { FILE: rust/examples/test-drive/main.rs function main (line 21) | async fn main() -> Result<(), ClientError> { function generate_agent_config (line 41) | fn generate_agent_config() -> PetSettings { function build_http_client (line 46) | fn build_http_client(settings: &settings::Opt) -> reqwest::Client { function spawn_participant (line 70) | fn spawn_participant( FILE: rust/examples/test-drive/participant.rs type Event (line 18) | enum Event { type Participant (line 25) | pub struct Participant { method new (line 66) | pub fn new( method run (line 81) | pub async fn run(mut self) { type Agent (line 35) | pub struct Agent(StateMachine); method new (line 38) | fn new(settings: PetSettings, xaynet_client: X, model_store: ... method run (line 52) | pub async fn run(mut self, tick: Duration) { type Notifier (line 109) | struct Notifier(mpsc::Sender); method new_round (line 112) | fn new_round(&mut self) { method sum (line 118) | fn sum(&mut self) { method update (line 124) | fn update(&mut self) { method idle (line 130) | fn idle(&mut self) { type LocalModel (line 137) | pub struct LocalModel(Arc); type Model (line 141) | type Model = Arc; type Error (line 142) | type Error = std::convert::Infallible; method load_model (line 144) | async fn load_model(&mut self) -> Result, Self::Erro... FILE: rust/examples/test-drive/settings.rs type Opt (line 7) | pub struct Opt { FILE: rust/xaynet-analytics/src/controller.rs type AnalyticsController (line 36) | struct AnalyticsController { constant MAX_SEND_FREQUENCY_HOURS (line 49) | const MAX_SEND_FREQUENCY_HOURS: u8 = 24; method init (line 51) | pub fn init( method dispose (line 77) | pub fn dispose(self) -> Result<(), Error> { method save_analytics_event (line 81) | pub fn save_analytics_event( method change_connectivity_status (line 96) | pub fn change_connectivity_status(&mut self) { method change_state_of_charge (line 100) | pub fn change_state_of_charge(&mut self) { method maybe_send_data (line 104) | pub fn maybe_send_data(&mut self) -> Result<(), Error> { method db (line 113) | fn db(&self) -> &IsarDb { method validate_send_frequency (line 120) | fn validate_send_frequency(input_send_frequency_hours: Option) -> ... method should_send_data (line 133) | fn should_send_data(&self) -> bool { method add_screen_route_if_new (line 141) | fn add_screen_route_if_new( method get_last_time_data_sent (line 162) | fn get_last_time_data_sent(db: &IsarDb) -> Result... method did_send_already_in_this_period (line 189) | fn did_send_already_in_this_period(&self) -> bool { method send_data (line 210) | fn send_data(&mut self) -> Result<(), Error> { function get_path (line 230) | fn get_path(test_name: &str) -> PathBuf { function get_controller (line 235) | fn get_controller( function remove_dir (line 247) | fn remove_dir(test_name: &str) { function cleanup (line 252) | fn cleanup(controller: AnalyticsController, test_name: &str) { function test_dispose (line 258) | fn test_dispose() { function test_save_analytics_event_no_screen_route (line 266) | fn test_save_analytics_event_no_screen_route() { function test_save_analytics_event_with_screen_route (line 291) | fn test_save_analytics_event_with_screen_route() { function test_change_connectivity_status (line 315) | fn test_change_connectivity_status() { function test_change_state_of_charge (line 326) | fn test_change_state_of_charge() { function test_validate_send_data_frequency_when_none (line 337) | fn test_validate_send_data_frequency_when_none() { function test_validate_send_data_frequency_when_more_than_24 (line 345) | fn test_validate_send_data_frequency_when_more_than_24() { function test_validate_send_data_frequency_when_less_than_24 (line 350) | fn test_validate_send_data_frequency_when_less_than_24() { function test_validate_send_data_frequency_when_0 (line 358) | fn test_validate_send_data_frequency_when_0() { function test_add_screen_route_if_new_with_new_route (line 366) | fn test_add_screen_route_if_new_with_new_route() { function test_add_screen_route_if_new_without_new_route (line 393) | fn test_add_screen_route_if_new_without_new_route() { function test_get_last_time_data_sent (line 426) | fn test_get_last_time_data_sent() { function test_did_send_already_in_this_period_never_sent_before (line 453) | fn test_did_send_already_in_this_period_never_sent_before() { function test_did_send_already_in_this_period_inside_24h (line 462) | fn test_did_send_already_in_this_period_inside_24h() { function test_did_send_already_in_this_period_outside_24h (line 481) | fn test_did_send_already_in_this_period_outside_24h() { function test_did_send_already_in_this_period_inside_12h (line 500) | fn test_did_send_already_in_this_period_inside_12h() { function test_did_send_already_in_this_period_outside_12h (line 519) | fn test_did_send_already_in_this_period_outside_12h() { function test_did_send_already_in_this_period_inside_6h (line 538) | fn test_did_send_already_in_this_period_inside_6h() { function test_did_send_already_in_this_period_outside_6h (line 557) | fn test_did_send_already_in_this_period_outside_6h() { function test_did_send_already_in_this_period_outside_twice_6h (line 576) | fn test_did_send_already_in_this_period_outside_twice_6h() { function test_did_send_already_in_this_period_outside_thrice_6h (line 595) | fn test_did_send_already_in_this_period_outside_thrice_6h() { FILE: rust/xaynet-analytics/src/data_combination/data_combiner.rs type DataCombiner (line 32) | pub struct DataCombiner; method init_data_points (line 35) | pub fn init_data_points( method init_screen_active_time_vars (line 78) | fn init_screen_active_time_vars( method init_screen_enter_count_vars (line 101) | fn init_screen_enter_count_vars( method init_was_active_each_past_period_vars (line 119) | fn init_was_active_each_past_period_vars( method init_was_active_past_n_days_vars (line 139) | fn init_was_active_past_n_days_vars( method filter_events_in_this_period (line 156) | fn filter_events_in_this_period( method get_start_of_period (line 168) | fn get_start_of_period( method filter_events_before_end_of_period (line 190) | fn filter_events_before_end_of_period( method get_events_single_route (line 203) | fn get_events_single_route( function get_midnight (line 215) | fn get_midnight(timestamp: DateTime) -> DateTime { function test_init_screen_active_time_vars (line 247) | fn test_init_screen_active_time_vars() { function test_init_screen_enter_count_vars (line 278) | fn test_init_screen_enter_count_vars() { function test_init_was_active_each_past_period_vars (line 300) | fn test_init_was_active_each_past_period_vars() { function test_init_was_active_past_n_days_vars (line 321) | fn test_init_was_active_past_n_days_vars() { function test_filter_events_in_this_period (line 341) | fn test_filter_events_in_this_period() { function test_get_start_of_period_one_day (line 371) | fn test_get_start_of_period_one_day() { function test_get_start_of_period_one_day_with_override (line 382) | fn test_get_start_of_period_one_day_with_override() { function test_get_start_of_period_one_week (line 393) | fn test_get_start_of_period_one_week() { function test_get_start_of_period_one_month (line 404) | fn test_get_start_of_period_one_month() { function text_filter_events_before_end_of_period (line 415) | fn text_filter_events_before_end_of_period() { function test_get_events_single_route (line 437) | fn test_get_events_single_route() { function test_get_midnight (line 460) | fn test_get_midnight() { FILE: rust/xaynet-analytics/src/data_combination/data_points/data_point.rs type PeriodUnit (line 8) | pub enum PeriodUnit { type Period (line 17) | pub struct Period { method new (line 23) | pub fn new(unit: PeriodUnit, n: u32) -> Self { type DataPointMetadata (line 32) | pub struct DataPointMetadata { method new (line 38) | pub fn new(period: Period, end: DateTime) -> Self { type CalculateDataPoints (line 43) | pub trait CalculateDataPoints { method metadata (line 44) | fn metadata(&self) -> DataPointMetadata; method calculate (line 46) | fn calculate(&self) -> Vec; type DataPoint (line 59) | pub enum DataPoint { method calculate (line 69) | fn calculate(&self) -> Vec { type CalcScreenActiveTime (line 81) | pub struct CalcScreenActiveTime { type CalcScreenEnterCount (line 88) | pub struct CalcScreenEnterCount { type CalcWasActiveEachPastPeriod (line 95) | pub struct CalcWasActiveEachPastPeriod { type CalcWasActivePastNDays (line 103) | pub struct CalcWasActivePastNDays { FILE: rust/xaynet-analytics/src/data_combination/data_points/screen_active_time.rs method new (line 13) | pub fn new(metadata: DataPointMetadata, events: Vec) -> ... method get_screen_and_app_events (line 18) | fn get_screen_and_app_events(&self) -> Vec { method metadata (line 33) | fn metadata(&self) -> DataPointMetadata { method calculate (line 37) | fn calculate(&self) -> Vec { function test_get_screen_and_app_events (line 74) | fn test_get_screen_and_app_events() { function test_calculate_when_no_events (line 115) | fn test_calculate_when_no_events() { function test_calculate_when_one_screen_enter_event (line 122) | fn test_calculate_when_one_screen_enter_event() { function test_calculate_when_two_screen_enter_events (line 139) | fn test_calculate_when_two_screen_enter_events() { function test_calculate_when_mixed_type_events (line 169) | fn test_calculate_when_mixed_type_events() { FILE: rust/xaynet-analytics/src/data_combination/data_points/screen_enter_count.rs method new (line 11) | pub fn new(metadata: DataPointMetadata, events: Vec) -> ... method metadata (line 17) | fn metadata(&self) -> DataPointMetadata { method calculate (line 21) | fn calculate(&self) -> Vec { function test_calculate_when_no_events (line 42) | fn test_calculate_when_no_events() { function test_calculate_when_one_event (line 49) | fn test_calculate_when_one_event() { function test_calculate_when_two_events (line 66) | fn test_calculate_when_two_events() { FILE: rust/xaynet-analytics/src/data_combination/data_points/was_active_each_past_period.rs method new (line 14) | pub fn new( method group_timestamps_by_period_threshold (line 27) | fn group_timestamps_by_period_threshold(&self) -> BTreeMap... method metadata (line 49) | fn metadata(&self) -> DataPointMetadata { method calculate (line 53) | fn calculate(&self) -> Vec { function test_calculate_no_events_in_a_period (line 75) | fn test_calculate_no_events_in_a_period() { function test_calculate_one_event_in_a_period (line 87) | fn test_calculate_one_event_in_a_period() { function test_calculate_no_events_in_two_periods (line 105) | fn test_calculate_no_events_in_two_periods() { function test_calculate_one_event_in_one_period_zero_in_another (line 121) | fn test_calculate_one_event_in_one_period_zero_in_another() { function test_calculate_two_events_in_one_period_zero_in_another (line 143) | fn test_calculate_two_events_in_one_period_zero_in_another() { function test_calculate_two_periods_with_one_event_each (line 173) | fn test_calculate_two_periods_with_one_event_each() { FILE: rust/xaynet-analytics/src/data_combination/data_points/was_active_past_n_days.rs method new (line 11) | pub fn new(metadata: DataPointMetadata, events: Vec) -> ... method metadata (line 17) | fn metadata(&self) -> DataPointMetadata { method calculate (line 21) | fn calculate(&self) -> Vec { function test_calculate_without_events (line 37) | fn test_calculate_without_events() { function test_calculate_with_events (line 44) | fn test_calculate_with_events() { FILE: rust/xaynet-analytics/src/database/analytics_event/adapter.rs type AnalyticsEventAdapter (line 21) | pub struct AnalyticsEventAdapter { method new (line 29) | pub fn new>( method get_oid (line 45) | fn get_oid(&self) -> String { method into_field_properties (line 49) | fn into_field_properties() -> IntoIter { method write_with_object_builder (line 60) | fn write_with_object_builder(&self, object_builder: &mut ObjectBuilder) { method read (line 68) | fn read( type AnalyticsEventRelationalAdapter (line 105) | pub struct AnalyticsEventRelationalAdapter { method new (line 113) | pub fn new(adapter: AnalyticsEventAdapter, db: &IsarDb) -> Result Result { type AnalyticsEvent (line 53) | pub struct AnalyticsEvent { method new (line 61) | pub fn new>( type Error (line 77) | type Error = anyhow::Error; method try_from (line 79) | fn try_from(adapter: AnalyticsEventRelationalAdapter) -> Result Self { function test_analytics_event_type_try_from_valid_i32 (line 110) | fn test_analytics_event_type_try_from_valid_i32() { function test_analytics_event_type_invalid_i32 (line 130) | fn test_analytics_event_type_invalid_i32() { function test_analytics_event_try_from_relational_adapter_without_screen_route (line 135) | fn test_analytics_event_try_from_relational_adapter_without_screen_route... function test_analytics_event_try_from_relational_adapter_with_screen_route (line 158) | fn test_analytics_event_try_from_relational_adapter_with_screen_route() { function test_analytics_event_try_into_adapter_without_screen_route (line 183) | fn test_analytics_event_try_into_adapter_without_screen_route() { function test_analytics_event_try_into_adapter_with_screen_route (line 202) | fn test_analytics_event_try_into_adapter_with_screen_route() { FILE: rust/xaynet-analytics/src/database/analytics_event/repo.rs method save (line 19) | fn save(self, db: &'db IsarDb, collection_name: &str) -> Result<(), Erro... method get_all (line 27) | fn get_all(db: &'db IsarDb, collection_name: &str) -> Result, ... method get (line 37) | fn get(oid: &str, db: &'db IsarDb, collection_name: &str) -> Result: Sized { method get_oid (line 30) | fn get_oid(&self) -> String; method into_field_properties (line 32) | fn into_field_properties() -> IntoIter; method write_with_object_builder (line 34) | fn write_with_object_builder(&self, object_builder: &mut ObjectBuilder); method read (line 36) | fn read( method find_property_by_name (line 41) | fn find_property_by_name( type Repo (line 58) | pub trait Repo<'db, M> method save (line 62) | fn save(self, db: &'db IsarDb, collection_name: &str) -> Result<(), Er... method get_all (line 64) | fn get_all(db: &'db IsarDb, collection_name: &str) -> Result, E... method get (line 66) | fn get(object_id: &str, db: &'db IsarDb, collection_name: &str) -> Res... type FieldProperty (line 70) | pub struct FieldProperty { method new (line 80) | pub fn new>(name: N, data_type: DataType, is_oid: bool... type SchemaGenerator (line 97) | pub trait SchemaGenerator<'object, A> method get_schema (line 101) | fn get_schema(name: &str) -> Result { type RelationalField (line 129) | pub struct RelationalField { type Error (line 137) | type Error = anyhow::Error; method try_from (line 139) | fn try_from(data: &str) -> Result { method from (line 156) | fn from(rf: RelationalField) -> String { type CollectionNames (line 163) | pub struct CollectionNames; constant ANALYTICS_EVENTS (line 166) | pub const ANALYTICS_EVENTS: &'static str = "analytics_events"; constant CONTROLLER_DATA (line 167) | pub const CONTROLLER_DATA: &'static str = "controller_data"; constant SCREEN_ROUTES (line 168) | pub const SCREEN_ROUTES: &'static str = "screen_routes"; FILE: rust/xaynet-analytics/src/database/controller_data/adapter.rs type ControllerDataAdapter (line 16) | pub struct ControllerDataAdapter { method new (line 21) | pub fn new>(time_data_sent: T) -> Self { method get_oid (line 29) | fn get_oid(&self) -> String { method into_field_properties (line 33) | fn into_field_properties() -> IntoIter { method write_with_object_builder (line 41) | fn write_with_object_builder(&self, object_builder: &mut ObjectBuilder) { method read (line 46) | fn read( FILE: rust/xaynet-analytics/src/database/controller_data/data_model.rs type ControllerData (line 12) | pub struct ControllerData { method new (line 17) | pub fn new(time_data_sent: DateTime) -> Self { type Error (line 23) | type Error = anyhow::Error; method try_from (line 25) | fn try_from(adapter: ControllerDataAdapter) -> Result Self { function test_controller_data_try_from_adapter (line 43) | fn test_controller_data_try_from_adapter() { function test_adapter_into_controller_data (line 54) | fn test_adapter_into_controller_data() { FILE: rust/xaynet-analytics/src/database/controller_data/repo.rs method save (line 13) | fn save(self, db: &'db IsarDb, collection_name: &str) -> Result<(), Erro... method get_all (line 21) | fn get_all(db: &'db IsarDb, collection_name: &str) -> Result, ... method get (line 30) | fn get(oid: &str, db: &'db IsarDb, collection_name: &str) -> Result) -> R... method get_all_isar_objects (line 40) | pub fn get_all_isar_objects( method get_read_transaction (line 60) | pub fn get_read_transaction(&self) -> Result { method get_isar_object_by_id (line 64) | pub fn get_isar_object_by_id<'txn>( method put (line 75) | pub fn put(&self, collection_name: &str, object: &[u8]) -> Result<(), ... method get_object_builder (line 90) | pub fn get_object_builder(&self, collection_name: &str) -> Result Result<(), Error> { method get_schema (line 125) | fn get_schema(collection_schemas: Vec) -> Result Result<&IsarCollect... method begin_txn (line 141) | fn begin_txn(&self, is_write: bool) -> Result { FILE: rust/xaynet-analytics/src/database/screen_route/adapter.rs type ScreenRouteAdapter (line 16) | pub struct ScreenRouteAdapter { method new (line 22) | pub fn new>(name: S, created_at: S) -> Self { method get_oid (line 31) | fn get_oid(&self) -> String { method into_field_properties (line 35) | fn into_field_properties() -> IntoIter { method write_with_object_builder (line 44) | fn write_with_object_builder(&self, object_builder: &mut ObjectBuilder) { method read (line 50) | fn read( FILE: rust/xaynet-analytics/src/database/screen_route/data_model.rs type ScreenRoute (line 14) | pub struct ScreenRoute { method new (line 20) | pub fn new>(name: N, created_at: DateTime) -> Self { type Error (line 29) | type Error = anyhow::Error; method try_from (line 31) | fn try_from(adapter: ScreenRouteAdapter) -> Result { method from (line 40) | fn from(sr: ScreenRoute) -> Self { method from (line 46) | fn from(screen_route: ScreenRoute) -> Self { function test_screen_route_try_from_adapter (line 59) | fn test_screen_route_try_from_adapter() { function test_adapter_into_screen_route (line 70) | fn test_adapter_into_screen_route() { function test_screen_route_from_relational_field (line 82) | fn test_screen_route_from_relational_field() { FILE: rust/xaynet-analytics/src/database/screen_route/repo.rs method save (line 13) | fn save(self, db: &'db IsarDb, collection_name: &str) -> Result<(), Erro... method get_all (line 21) | fn get_all(db: &'db IsarDb, collection_name: &str) -> Result, ... method get (line 30) | fn get(oid: &str, db: &'db IsarDb, collection_name: &str) -> Result) -> Result<(), Error> { FILE: rust/xaynet-core/src/common.rs type RoundParameters (line 8) | pub struct RoundParameters { type RoundSeed (line 25) | pub struct RoundSeed(box_::Seed); constant LENGTH (line 28) | const LENGTH: usize = box_::SEEDBYTES; method from_slice (line 34) | fn from_slice(bytes: &[u8]) -> Option { method zeroed (line 39) | fn zeroed() -> Self { method as_slice (line 44) | fn as_slice(&self) -> &[u8] { FILE: rust/xaynet-core/src/crypto/encrypt.rs constant SEALBYTES (line 15) | pub const SEALBYTES: usize = sealedbox::SEALBYTES; type EncryptKeyPair (line 19) | pub struct EncryptKeyPair { method generate (line 28) | pub fn generate() -> Self { method derive_from_seed (line 37) | pub fn derive_from_seed(seed: &EncryptKeySeed) -> Self { type PublicEncryptKey (line 62) | pub struct PublicEncryptKey(box_::PublicKey); method encrypt (line 88) | pub fn encrypt(&self, m: &[u8]) -> Vec { constant LENGTH (line 65) | const LENGTH: usize = box_::PUBLICKEYBYTES; method zeroed (line 67) | fn zeroed() -> Self { method as_slice (line 71) | fn as_slice(&self) -> &[u8] { method from_slice (line 75) | fn from_slice(bytes: &[u8]) -> Option { type DecryptionError (line 96) | pub struct DecryptionError; type SecretEncryptKey (line 102) | pub struct SecretEncryptKey(box_::SecretKey); method decrypt (line 110) | pub fn decrypt(&self, c: &[u8], pk: &PublicEncryptKey) -> Result PublicEncryptKey { constant LENGTH (line 121) | const LENGTH: usize = box_::SECRETKEYBYTES; method zeroed (line 123) | fn zeroed() -> Self { method as_slice (line 127) | fn as_slice(&self) -> &[u8] { method from_slice (line 131) | fn from_slice(bytes: &[u8]) -> Option { type EncryptKeySeed (line 140) | pub struct EncryptKeySeed(box_::Seed); method derive_encrypt_key_pair (line 144) | pub fn derive_encrypt_key_pair(&self) -> (PublicEncryptKey, SecretEncr... constant LENGTH (line 151) | const LENGTH: usize = box_::SEEDBYTES; method from_slice (line 153) | fn from_slice(bytes: &[u8]) -> Option { method zeroed (line 157) | fn zeroed() -> Self { method as_slice (line 161) | fn as_slice(&self) -> &[u8] { FILE: rust/xaynet-core/src/crypto/hash.rs type Sha256 (line 30) | pub struct Sha256(sha256::Digest); method hash (line 50) | pub fn hash(m: &[u8]) -> Self { constant LENGTH (line 33) | const LENGTH: usize = sha256::DIGESTBYTES; method zeroed (line 35) | fn zeroed() -> Self { method as_slice (line 39) | fn as_slice(&self) -> &[u8] { method from_slice (line 43) | fn from_slice(bytes: &[u8]) -> Option { FILE: rust/xaynet-core/src/crypto/mod.rs type ByteObject (line 44) | pub trait ByteObject: Sized { constant LENGTH (line 46) | const LENGTH: usize; method zeroed (line 49) | fn zeroed() -> Self; method as_slice (line 52) | fn as_slice(&self) -> &[u8]; method from_slice (line 58) | fn from_slice(bytes: &[u8]) -> Option; method from_slice_unchecked (line 64) | fn from_slice_unchecked(bytes: &[u8]) -> Self { method generate (line 69) | fn generate() -> Self { method fill_with (line 75) | fn fill_with(value: u8) -> Self { FILE: rust/xaynet-core/src/crypto/prng.rs function generate_integer (line 16) | pub fn generate_integer(prng: &mut ChaCha20Rng, max_int: &BigUint) -> Bi... function test_generate_integer (line 37) | fn test_generate_integer() { FILE: rust/xaynet-core/src/crypto/sign.rs type SigningKeyPair (line 22) | pub struct SigningKeyPair { method generate (line 31) | pub fn generate() -> Self { method derive_from_seed (line 39) | pub fn derive_from_seed(seed: &SigningKeySeed) -> Self { type PublicSigningKey (line 64) | pub struct PublicSigningKey(sign::PublicKey); method verify_detached (line 70) | pub fn verify_detached(&self, s: &Signature, m: &[u8]) -> bool { constant LENGTH (line 76) | const LENGTH: usize = sign::PUBLICKEYBYTES; method zeroed (line 78) | fn zeroed() -> Self { method as_slice (line 82) | fn as_slice(&self) -> &[u8] { method from_slice (line 86) | fn from_slice(bytes: &[u8]) -> Option { type SecretSigningKey (line 95) | pub struct SecretSigningKey(sign::SecretKey); method sign_detached (line 99) | pub fn sign_detached(&self, m: &[u8]) -> Signature { method public_key (line 104) | pub fn public_key(&self) -> PublicSigningKey { constant LENGTH (line 110) | const LENGTH: usize = sign::SECRETKEYBYTES; method zeroed (line 112) | fn zeroed() -> Self { method as_slice (line 116) | fn as_slice(&self) -> &[u8] { method from_slice (line 120) | fn from_slice(bytes: &[u8]) -> Option { type Signature (line 127) | pub struct Signature(sign::Signature); method deserialize (line 148) | fn deserialize(deserializer: D) -> Result method is_eligible (line 186) | pub fn is_eligible(&self, threshold: f64) -> bool { method serialize (line 139) | fn serialize(&self, serializer: S) -> Result constant LENGTH (line 165) | const LENGTH: usize = sign::SIGNATUREBYTES; method zeroed (line 167) | fn zeroed() -> Self { method as_slice (line 171) | fn as_slice(&self) -> &[u8] { method from_slice (line 175) | fn from_slice(bytes: &[u8]) -> Option { type SigningKeySeed (line 208) | pub struct SigningKeySeed(sign::Seed); method derive_signing_key_pair (line 212) | pub fn derive_signing_key_pair(&self) -> (PublicSigningKey, SecretSign... constant LENGTH (line 219) | const LENGTH: usize = sign::SEEDBYTES; method from_slice (line 221) | fn from_slice(bytes: &[u8]) -> Option { method zeroed (line 225) | fn zeroed() -> Self { method as_slice (line 229) | fn as_slice(&self) -> &[u8] { function test_signature_is_eligible (line 239) | fn test_signature_is_eligible() { FILE: rust/xaynet-core/src/lib.rs type InitError (line 38) | pub struct InitError; type CoordinatorPublicKey (line 41) | pub type CoordinatorPublicKey = PublicEncryptKey; type CoordinatorSecretKey (line 45) | pub type CoordinatorSecretKey = SecretEncryptKey; type ParticipantPublicKey (line 48) | pub type ParticipantPublicKey = PublicSigningKey; type ParticipantSecretKey (line 52) | pub type ParticipantSecretKey = SecretSigningKey; type SumParticipantPublicKey (line 55) | pub type SumParticipantPublicKey = ParticipantPublicKey; type SumParticipantSecretKey (line 59) | pub type SumParticipantSecretKey = ParticipantSecretKey; type SumParticipantEphemeralPublicKey (line 64) | pub type SumParticipantEphemeralPublicKey = PublicEncryptKey; type SumParticipantEphemeralSecretKey (line 67) | pub type SumParticipantEphemeralSecretKey = SecretEncryptKey; type UpdateParticipantPublicKey (line 70) | pub type UpdateParticipantPublicKey = ParticipantPublicKey; type UpdateParticipantSecretKey (line 74) | pub type UpdateParticipantSecretKey = ParticipantSecretKey; type ParticipantTaskSignature (line 77) | pub type ParticipantTaskSignature = Signature; type SumDict (line 81) | pub type SumDict = HashMap; type UpdateSeedDict (line 93) | pub type UpdateSeedDict = HashMap Result { type DataType (line 66) | pub enum DataType { type Error (line 78) | type Error = InvalidMaskConfigError; method try_from (line 80) | fn try_from(byte: u8) -> Result { type BoundType (line 97) | pub enum BoundType { type Error (line 112) | type Error = InvalidMaskConfigError; method try_from (line 114) | fn try_from(byte: u8) -> Result { type ModelType (line 129) | pub enum ModelType { method max_nb_models (line 142) | pub fn max_nb_models(&self) -> usize { type Error (line 148) | type Error = InvalidMaskConfigError; method try_from (line 150) | fn try_from(byte: u8) -> Result { type MaskConfig (line 165) | pub struct MaskConfig { method bytes_per_number (line 181) | pub(crate) fn bytes_per_number(&self) -> usize { method add_shift (line 196) | pub fn add_shift(&self) -> Ratio { method exp_shift (line 216) | pub fn exp_shift(&self) -> BigInt { method order (line 234) | pub fn order(&self) -> BigUint { type MaskConfigPair (line 642) | pub struct MaskConfigPair { method from (line 649) | fn from(config: MaskConfig) -> Self { FILE: rust/xaynet-core/src/mask/config/serialization.rs constant GROUP_TYPE_FIELD (line 19) | const GROUP_TYPE_FIELD: usize = 0; constant DATA_TYPE_FIELD (line 20) | const DATA_TYPE_FIELD: usize = 1; constant BOUND_TYPE_FIELD (line 21) | const BOUND_TYPE_FIELD: usize = 2; constant MODEL_TYPE_FIELD (line 22) | const MODEL_TYPE_FIELD: usize = 3; constant MASK_CONFIG_BUFFER_LEN (line 23) | pub(crate) const MASK_CONFIG_BUFFER_LEN: usize = 4; type MaskConfigBuffer (line 26) | pub struct MaskConfigBuffer { function new (line 35) | pub fn new(bytes: T) -> Result { function new_unchecked (line 44) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 52) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function group_type (line 68) | pub fn group_type(&self) -> u8 { function data_type (line 76) | pub fn data_type(&self) -> u8 { function bound_type (line 84) | pub fn bound_type(&self) -> u8 { function model_type (line 92) | pub fn model_type(&self) -> u8 { function set_group_type (line 102) | pub fn set_group_type(&mut self, value: u8) { function set_data_type (line 110) | pub fn set_data_type(&mut self, value: u8) { function set_bound_type (line 118) | pub fn set_bound_type(&mut self, value: u8) { function set_model_type (line 126) | pub fn set_model_type(&mut self, value: u8) { method buffer_length (line 132) | fn buffer_length(&self) -> usize { method to_bytes (line 136) | fn to_bytes>(&self, buffer: &mut T) { method from_byte_slice (line 146) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( function serialize (line 182) | fn serialize() { function deserialize (line 196) | fn deserialize() { function stream_deserialize (line 211) | fn stream_deserialize() { FILE: rust/xaynet-core/src/mask/masking.rs type UnmaskingError (line 32) | pub enum UnmaskingError { type AggregationError (line 54) | pub enum AggregationError { type Aggregation (line 74) | pub struct Aggregation { method from (line 81) | fn from(object: MaskObject) -> Self { method new (line 99) | pub fn new(config: MaskConfigPair, object_size: usize) -> Self { method len (line 108) | pub fn len(&self) -> usize { method config (line 113) | pub fn config(&self) -> MaskConfigPair { method validate_unmasking (line 142) | pub fn validate_unmasking(&self, mask: &MaskObject) -> Result<(), Unma... method unmask (line 190) | pub fn unmask(self, mask_obj: MaskObject) -> Model { method validate_aggregation (line 253) | pub fn validate_aggregation(&self, object: &MaskObject) -> Result<(), ... method aggregate (line 292) | pub fn aggregate(&mut self, object: MaskObject) { method from (line 91) | fn from(aggr: Aggregation) -> Self { type Masker (line 320) | pub struct Masker { method new (line 327) | pub fn new(config: MaskConfigPair) -> Self { method with_seed (line 335) | pub fn with_seed(config: MaskConfigPair, seed: MaskSeed) -> Self { method mask (line 358) | pub fn mask(self, scalar: Scalar, model: &Model) -> (MaskSeed, MaskObj... method random_ints (line 410) | fn random_ints(&self) -> (BigUint, impl Iterator) { FILE: rust/xaynet-core/src/mask/model.rs type Model (line 25) | pub struct Model(Vec>); method as_ref (line 28) | fn as_ref(&self) -> &Model { method len (line 36) | pub fn len(&self) -> usize { method iter (line 41) | pub fn iter(&self) -> Iter> { method iter_mut (line 46) | pub fn iter_mut(&mut self) -> IterMut> { method from_iter (line 52) | fn from_iter>>(iter: I) -> Self { method into_primitives (line 140) | fn into_primitives(self) -> Box Box>(iter: I) -> Result>(iter: I) -> Self { method into_primitives (line 171) | fn into_primitives(self) -> Box Box>(iter: I) -> Result>(iter: I) -> Self { method into_primitives (line 202) | fn into_primitives(self) -> Box Box>(iter: I) -> Result>(iter: I) -> Self { method into_primitives (line 236) | fn into_primitives(self) -> Box Box>(iter: I) -> Result>(iter: I) -> Self { type Item (line 59) | type Item = Ratio; type IntoIter (line 60) | type IntoIter = std::vec::IntoIter; method into_iter (line 62) | fn into_iter(self) -> Self::IntoIter { type PrimitiveType (line 69) | pub(crate) enum PrimitiveType { type ModelCastError (line 79) | pub struct ModelCastError { type PrimitiveCastError (line 87) | pub struct PrimitiveCastError(pub(crate) P); type IntoPrimitives (line 94) | pub trait IntoPrimitives: Sized { method into_primitives (line 99) | fn into_primitives(self) -> Box Box Box> { type FromPrimitives (line 124) | pub trait FromPrimitives: Sized { method from_primitives (line 130) | fn from_primitives>(iter: I) -> Result>(iter: I) -> Self; function ratio_to_float (line 273) | pub(crate) fn ratio_to_float(ratio: &Ratio) -> Opt... function float_to_ratio_bounded (line 303) | pub(crate) fn float_to_ratio_bounded(f: F) -> Ratio { type R (line 318) | type R = Ratio; function test_model_f32 (line 321) | fn test_model_f32() { function test_model_f64 (line 340) | fn test_model_f64() { function test_model_f32_from_weird_primitives (line 359) | fn test_model_f32_from_weird_primitives() { function test_model_f64_from_weird_primitives (line 383) | fn test_model_f64_from_weird_primitives() { function test_model_i32 (line 407) | fn test_model_i32() { function test_model_i64 (line 426) | fn test_model_i64() { function test_ratio_to_float (line 446) | fn test_ratio_to_float() { FILE: rust/xaynet-core/src/mask/object/mod.rs type InvalidMaskObjectError (line 20) | pub struct InvalidMaskObjectError; type MaskVect (line 24) | pub struct MaskVect { method new_unchecked (line 31) | pub fn new_unchecked(config: MaskConfig, data: Vec) -> Self { method new (line 39) | pub fn new(config: MaskConfig, data: Vec) -> Result Self { method is_valid (line 57) | pub fn is_valid(&self) -> bool { method from (line 71) | fn from(mask_unit: &MaskUnit) -> Self { method from (line 77) | fn from(mask_unit: MaskUnit) -> Self { type MaskUnit (line 65) | pub struct MaskUnit { method new_unchecked (line 84) | pub fn new_unchecked(config: MaskConfig, data: BigUint) -> Self { method new (line 92) | pub fn new(config: MaskConfig, data: BigUint) -> Result Self { method is_valid (line 110) | pub fn is_valid(&self) -> bool { type MaskObject (line 117) | pub struct MaskObject { method new_unchecked (line 124) | pub fn new_unchecked(vect: MaskVect, unit: MaskUnit) -> Self { method new (line 129) | pub fn new( method empty (line 140) | pub fn empty(config: MaskConfigPair, size: usize) -> Self { method is_valid (line 148) | pub fn is_valid(&self) -> bool { FILE: rust/xaynet-core/src/mask/object/serialization/mod.rs constant MAX_NB (line 27) | const MAX_NB: u32 = u16::MAX as u32; type MaskObjectBuffer (line 30) | pub struct MaskObjectBuffer { function new (line 39) | pub fn new(bytes: T) -> Result { function new_unchecked (line 48) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 56) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function vect (line 69) | pub fn vect(&self) -> &[u8] { function unit_offset (line 75) | pub fn unit_offset(&self) -> usize { function unit (line 84) | pub fn unit(&self) -> &[u8] { function len (line 93) | pub fn len(&self) -> usize { function vect_mut (line 105) | pub fn vect_mut(&mut self) -> &mut [u8] { function unit_mut (line 113) | pub fn unit_mut(&mut self) -> &mut [u8] { method buffer_length (line 120) | fn buffer_length(&self) -> usize { method to_bytes (line 124) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut T) { method from_byte_slice (line 132) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( function mask_config (line 157) | pub fn mask_config() -> (MaskConfig, Vec) { function mask_object (line 170) | pub fn mask_object() -> (MaskObject, Vec) { function serialize_mask_object (line 180) | fn serialize_mask_object() { function deserialize_mask_object (line 188) | fn deserialize_mask_object() { function deserialize_mask_object_from_stream (line 194) | fn deserialize_mask_object_from_stream() { FILE: rust/xaynet-core/src/mask/object/serialization/unit.rs constant MASK_CONFIG_FIELD (line 24) | const MASK_CONFIG_FIELD: Range = range(0, MASK_CONFIG_BUFFER_LEN); type MaskUnitBuffer (line 27) | pub struct MaskUnitBuffer { function new (line 36) | pub fn new(bytes: T) -> Result { function new_unchecked (line 45) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 53) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function try_len (line 79) | pub fn try_len(&self) -> Result { function len (line 90) | pub fn len(&self) -> usize { function config (line 100) | pub fn config(&self) -> &[u8] { function data (line 108) | pub fn data(&self) -> &[u8] { function config_mut (line 118) | pub fn config_mut(&mut self) -> &mut [u8] { function data_mut (line 126) | pub fn data_mut(&mut self) -> &mut [u8] { method buffer_length (line 133) | fn buffer_length(&self) -> usize { method to_bytes (line 137) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut T) { method from_byte_slice (line 161) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( function mask_unit (line 200) | pub fn mask_unit() -> (MaskUnit, Vec) { function serialize_mask_unit (line 213) | fn serialize_mask_unit() { function deserialize_mask_unit (line 221) | fn deserialize_mask_unit() { function deserialize_mask_unit_from_stream (line 227) | fn deserialize_mask_unit_from_stream() { FILE: rust/xaynet-core/src/mask/object/serialization/vect.rs constant MASK_CONFIG_FIELD (line 24) | const MASK_CONFIG_FIELD: Range = range(0, MASK_CONFIG_BUFFER_LEN); constant NUMBERS_FIELD (line 25) | const NUMBERS_FIELD: Range = range(MASK_CONFIG_FIELD.end, 4); constant MAX_NB (line 29) | const MAX_NB: u32 = u16::MAX as u32; type MaskVectBuffer (line 32) | pub struct MaskVectBuffer { function new (line 42) | pub fn new(bytes: T) -> Result { function new_unchecked (line 51) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 59) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function try_len (line 85) | fn try_len(&self) -> Result { function len (line 102) | pub fn len(&self) -> usize { function numbers (line 115) | pub fn numbers(&self) -> usize { function config (line 132) | pub fn config(&self) -> &[u8] { function data (line 140) | pub fn data(&self) -> &[u8] { function set_numbers (line 150) | pub fn set_numbers(&mut self, value: u32) { function config_mut (line 158) | pub fn config_mut(&mut self) -> &mut [u8] { function data_mut (line 166) | pub fn data_mut(&mut self) -> &mut [u8] { method buffer_length (line 173) | fn buffer_length(&self) -> usize { method to_bytes (line 177) | fn to_bytes>(&self, buffer: &mut T) { method from_byte_slice (line 203) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( function mask_vect (line 255) | pub fn mask_vect() -> (MaskVect, Vec) { function serialize_mask_vect (line 278) | fn serialize_mask_vect() { function deserialize_mask_vect (line 286) | fn deserialize_mask_vect() { function deserialize_mask_vect_from_stream (line 292) | fn deserialize_mask_vect_from_stream() { FILE: rust/xaynet-core/src/mask/scalar.rs type Scalar (line 31) | pub struct Scalar(Ratio); type Error (line 41) | type Error = >::Error; method try_from (line 43) | fn try_from(ratio: Ratio) -> Result { method new (line 51) | pub fn new(numer: U, denom: U) -> Self method from_integer (line 59) | pub fn from_integer(u: U) -> Self method unit (line 67) | pub fn unit() -> Self { method to_ratio (line 72) | pub(crate) fn to_ratio(&self) -> Ratio { method from_float_bounded (line 79) | pub(crate) fn from_float_bounded(f: F) -> Self { method into_primitive (line 147) | fn into_primitive(self) -> Result { method to_primitive (line 155) | fn to_primitive(&self) -> Result { method from_primitive (line 161) | fn from_primitive(prim: i32) -> Result> { method from_primitive_bounded (line 166) | fn from_primitive_bounded(prim: i32) -> Self { method into_primitive (line 172) | fn into_primitive(self) -> Result { method to_primitive (line 180) | fn to_primitive(&self) -> Result { method from_primitive (line 186) | fn from_primitive(prim: i64) -> Result> { method from_primitive_bounded (line 191) | fn from_primitive_bounded(prim: i64) -> Self { method into_primitive (line 197) | fn into_primitive(self) -> Result { method to_primitive (line 205) | fn to_primitive(&self) -> Result { method from_primitive (line 211) | fn from_primitive(prim: f32) -> Result> { method from_primitive_bounded (line 216) | fn from_primitive_bounded(prim: f32) -> Self { method into_primitive (line 222) | fn into_primitive(self) -> Result { method to_primitive (line 230) | fn to_primitive(&self) -> Result { method from_primitive (line 236) | fn from_primitive(prim: f64) -> Result> { method from_primitive_bounded (line 241) | fn from_primitive_bounded(prim: f64) -> Self { function from (line 34) | fn from(scalar: Scalar) -> Self { type ScalarCastError (line 95) | pub struct ScalarCastError { type IntoPrimitive (line 105) | pub trait IntoPrimitive

: Sized { method into_primitive (line 110) | fn into_primitive(self) -> Result; method to_primitive (line 116) | fn to_primitive(&self) -> Result; method into_primitive_unchecked (line 122) | fn into_primitive_unchecked(self) -> P { type FromPrimitive (line 133) | pub trait FromPrimitive: Sized { method from_primitive (line 138) | fn from_primitive(prim: P) -> Result>; method from_primitive_bounded (line 143) | fn from_primitive_bounded(prim: P) -> Self; function test_ratio_conversion (line 251) | fn test_ratio_conversion() { function test_ratio_conversion_ok (line 259) | fn test_ratio_conversion_ok() { function test_ratio_conversion_err (line 268) | fn test_ratio_conversion_err() { function test_scalar_f32 (line 276) | fn test_scalar_f32() { function test_scalar_f32_from_weird_prims (line 296) | fn test_scalar_f32_from_weird_prims() { function test_scalar_f64 (line 315) | fn test_scalar_f64() { function test_scalar_f64_from_weird_prims (line 335) | fn test_scalar_f64_from_weird_prims() { function test_scalar_i32 (line 353) | fn test_scalar_i32() { function test_scalar_i64 (line 372) | fn test_scalar_i64() { FILE: rust/xaynet-core/src/mask/seed.rs type MaskSeed (line 30) | pub struct MaskSeed(box_::Seed); method as_array (line 50) | pub fn as_array(&self) -> [u8; Self::LENGTH] { method encrypt (line 55) | pub fn encrypt(&self, pk: &SumParticipantEphemeralPublicKey) -> Encryp... method derive_mask (line 61) | pub fn derive_mask(&self, len: usize, config: MaskConfigPair) -> MaskO... constant LENGTH (line 33) | const LENGTH: usize = box_::SEEDBYTES; method from_slice (line 35) | fn from_slice(bytes: &[u8]) -> Option { method zeroed (line 39) | fn zeroed() -> Self { method as_slice (line 43) | fn as_slice(&self) -> &[u8] { type EncryptedMaskSeed (line 83) | pub struct EncryptedMaskSeed(Vec); method from (line 86) | fn from(value: Vec) -> Self { method decrypt (line 124) | pub fn decrypt( constant LENGTH (line 92) | const LENGTH: usize = SEALBYTES + MaskSeed::LENGTH; method from_slice (line 94) | fn from_slice(bytes: &[u8]) -> Option { method zeroed (line 102) | fn zeroed() -> Self { method as_slice (line 106) | fn as_slice(&self) -> &[u8] { type InvalidMaskSeed (line 112) | pub enum InvalidMaskSeed { function test_constants (line 147) | fn test_constants() { function test_derive_mask (line 161) | fn test_derive_mask() { function test_encryption (line 179) | fn test_encryption() { FILE: rust/xaynet-core/src/message/message.rs constant SUM_COUNT_MIN (line 18) | pub const SUM_COUNT_MIN: u64 = 1; constant UPDATE_COUNT_MIN (line 21) | pub const UPDATE_COUNT_MIN: u64 = 3; constant SIGNATURE (line 31) | pub const SIGNATURE: Range = range(0, Signature::LENGTH); constant PARTICIPANT_PK (line 34) | pub const PARTICIPANT_PK: Range = range(SIGNATURE.end, PublicSign... constant COORDINATOR_PK (line 37) | pub const COORDINATOR_PK: Range = range(PARTICIPANT_PK.end, Publi... constant LENGTH (line 39) | pub const LENGTH: Range = range(COORDINATOR_PK.end, 4); constant TAG (line 41) | pub const TAG: usize = LENGTH.end; constant FLAGS (line 43) | pub const FLAGS: usize = TAG + 1; constant RESERVED (line 45) | pub const RESERVED: Range = range(FLAGS + 1, 2); constant HEADER_LENGTH (line 49) | pub const HEADER_LENGTH: usize = ranges::RESERVED.end; type MessageBuffer (line 218) | pub struct MessageBuffer { function inner (line 223) | pub fn inner(&self) -> &T { function as_ref (line 227) | pub fn as_ref(&self) -> MessageBuffer<&T> { function new (line 235) | pub fn new(bytes: T) -> Result { function new_unchecked (line 247) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 253) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function tag (line 278) | pub fn tag(&self) -> u8 { function flags (line 286) | pub fn flags(&self) -> Flags { function length (line 294) | pub fn length(&self) -> u32 { function signature (line 306) | pub fn signature(&self) -> &'a [u8] { function participant_pk (line 314) | pub fn participant_pk(&self) -> &'a [u8] { function coordinator_pk (line 322) | pub fn coordinator_pk(&self) -> &'a [u8] { function payload (line 330) | pub fn payload(&self) -> &'a [u8] { function check_signature (line 336) | pub fn check_signature(&self) -> Result<(), DecodeError> { function signed_data (line 355) | pub fn signed_data(&self) -> &'a [u8] { function set_tag (line 366) | pub fn set_tag(&mut self, value: u8) { function set_flags (line 374) | pub fn set_flags(&mut self, value: Flags) { function set_length (line 382) | pub fn set_length(&mut self, value: u32) { function signature_mut (line 391) | pub fn signature_mut(&mut self) -> &mut [u8] { function participant_pk_mut (line 399) | pub fn participant_pk_mut(&mut self) -> &mut [u8] { function coordinator_pk_mut (line 407) | pub fn coordinator_pk_mut(&mut self) -> &mut [u8] { function payload_mut (line 415) | pub fn payload_mut(&mut self) -> &mut [u8] { function signed_data_mut (line 425) | pub fn signed_data_mut(&mut self) -> &mut [u8] { type Tag (line 441) | pub enum Tag { type Error (line 451) | type Error = DecodeError; method try_from (line 453) | fn try_from(value: u8) -> Result { function from (line 464) | fn from(tag: Tag) -> Self { type Message (line 475) | pub struct Message { method new_sum (line 499) | pub fn new_sum( method new_sum2 (line 516) | pub fn new_sum2( method new_update (line 533) | pub fn new_update( method new_multipart (line 550) | pub fn new_multipart( method from_byte_slice (line 569) | pub fn from_byte_slice>(buffer: &T) -> Result + AsRef<[u8]> + ?Sized>( method buffer_length (line 647) | pub fn buffer_length(&self) -> usize { function sum_message (line 662) | fn sum_message() -> (Message, Vec) { function buffer_read (line 667) | fn buffer_read() { function buffer_write (line 685) | fn buffer_write() { FILE: rust/xaynet-core/src/message/mod.rs type DecodeError (line 56) | pub type DecodeError = anyhow::Error; FILE: rust/xaynet-core/src/message/payload/chunk.rs constant ID (line 15) | pub const ID: Range = range(0, 2); constant MESSAGE_ID (line 17) | pub const MESSAGE_ID: Range = range(ID.end, 2); constant FLAGS (line 19) | pub const FLAGS: usize = MESSAGE_ID.end; constant RESERVED (line 21) | pub const RESERVED: Range = range(FLAGS + 1, 3); constant HEADER_LENGTH (line 25) | const HEADER_LENGTH: usize = ranges::RESERVED.end; type Chunk (line 29) | pub struct Chunk { type ChunkBuffer (line 66) | pub struct ChunkBuffer { function new (line 76) | pub fn new(bytes: T) -> Result { function new_unchecked (line 88) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 94) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function flags (line 110) | pub fn flags(&self) -> Flags { function id (line 118) | pub fn id(&self) -> u16 { function message_id (line 128) | pub fn message_id(&self) -> u16 { function payload (line 140) | pub fn payload(&self) -> &'a [u8] { function set_flags (line 150) | pub fn set_flags(&mut self, value: Flags) { function set_id (line 158) | pub fn set_id(&mut self, value: u16) { function set_message_id (line 167) | pub fn set_message_id(&mut self, value: u16) { function payload_mut (line 176) | pub fn payload_mut(&mut self) -> &mut [u8] { method from_byte_slice (line 182) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( method buffer_length (line 212) | fn buffer_length(&self) -> usize { method to_bytes (line 216) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut T) { function flags (line 234) | fn flags() -> (u8, Flags) { function id (line 239) | fn id() -> (Vec, u16) { function message_id (line 244) | fn message_id() -> (Vec, u16) { function data (line 249) | fn data() -> Vec { function chunk (line 253) | fn chunk() -> (Vec, Chunk) { function buffer_read (line 271) | fn buffer_read() { function stream_parse (line 281) | fn stream_parse() { function buffer_write (line 288) | fn buffer_write() { FILE: rust/xaynet-core/src/message/payload/mod.rs type Payload (line 23) | pub enum Payload { method is_sum (line 35) | pub fn is_sum(&self) -> bool { method is_update (line 39) | pub fn is_update(&self) -> bool { method is_sum2 (line 43) | pub fn is_sum2(&self) -> bool { method is_chunk (line 47) | pub fn is_chunk(&self) -> bool { method buffer_length (line 53) | fn buffer_length(&self) -> usize { method to_bytes (line 62) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut T) { FILE: rust/xaynet-core/src/message/payload/sum.rs constant SUM_SIGNATURE_RANGE (line 22) | const SUM_SIGNATURE_RANGE: Range = range(0, ParticipantTaskSignat... constant EPHM_PK_RANGE (line 23) | const EPHM_PK_RANGE: Range = range( type SumBuffer (line 61) | pub struct SumBuffer { function new (line 71) | pub fn new(bytes: T) -> Result { function new_unchecked (line 82) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 87) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function ephm_pk_mut (line 106) | pub fn ephm_pk_mut(&mut self) -> &mut [u8] { function sum_signature_mut (line 114) | pub fn sum_signature_mut(&mut self) -> &mut [u8] { function ephm_pk (line 124) | pub fn ephm_pk(&self) -> &'a [u8] { function sum_signature (line 132) | pub fn sum_signature(&self) -> &'a [u8] { type Sum (line 176) | pub struct Sum { method buffer_length (line 186) | fn buffer_length(&self) -> usize { method to_bytes (line 190) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut T) { method from_byte_slice (line 198) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( function buffer_read (line 234) | fn buffer_read() { function buffer_read_invalid (line 242) | fn buffer_read_invalid() { function buffer_write (line 247) | fn buffer_write() { function encode (line 259) | fn encode() { function decode (line 269) | fn decode() { function stream_parse (line 276) | fn stream_parse() { FILE: rust/xaynet-core/src/message/payload/sum2.rs constant SUM_SIGNATURE_RANGE (line 22) | const SUM_SIGNATURE_RANGE: Range = range(0, ParticipantTaskSignat... type Sum2Buffer (line 28) | pub struct Sum2Buffer { function new (line 38) | pub fn new(bytes: T) -> Result { function new_unchecked (line 49) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 54) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function model_mask_offset (line 72) | fn model_mask_offset(&self) -> usize { function sum_signature_mut (line 82) | pub fn sum_signature_mut(&mut self) -> &mut [u8] { function model_mask_mut (line 90) | pub fn model_mask_mut(&mut self) -> &mut [u8] { function sum_signature (line 101) | pub fn sum_signature(&self) -> &'a [u8] { function model_mask (line 109) | pub fn model_mask(&self) -> &'a [u8] { type Sum2 (line 119) | pub struct Sum2 { method buffer_length (line 130) | fn buffer_length(&self) -> usize { method to_bytes (line 134) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut T) { method from_byte_slice (line 142) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( function buffer_read (line 170) | fn buffer_read() { function buffer_write (line 182) | fn buffer_write() { function encode (line 197) | fn encode() { function decode (line 207) | fn decode() { function stream_parse (line 214) | fn stream_parse() { FILE: rust/xaynet-core/src/message/payload/update.rs constant SUM_SIGNATURE_RANGE (line 23) | const SUM_SIGNATURE_RANGE: Range = range(0, ParticipantTaskSignat... constant UPDATE_SIGNATURE_RANGE (line 24) | const UPDATE_SIGNATURE_RANGE: Range = type UpdateBuffer (line 31) | pub struct UpdateBuffer { function new (line 41) | pub fn new(bytes: T) -> Result { function new_unchecked (line 52) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 57) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function masked_model_offset (line 81) | fn masked_model_offset(&self) -> usize { function local_seed_dict_offset (line 89) | fn local_seed_dict_offset(&self) -> usize { function sum_signature (line 101) | pub fn sum_signature(&self) -> &'a [u8] { function update_signature (line 109) | pub fn update_signature(&self) -> &'a [u8] { function masked_model (line 117) | pub fn masked_model(&self) -> &'a [u8] { function local_seed_dict (line 126) | pub fn local_seed_dict(&self) -> &'a [u8] { function sum_signature_mut (line 137) | pub fn sum_signature_mut(&mut self) -> &mut [u8] { function update_signature_mut (line 145) | pub fn update_signature_mut(&mut self) -> &mut [u8] { function masked_model_mut (line 153) | pub fn masked_model_mut(&mut self) -> &mut [u8] { function local_seed_dict_mut (line 162) | pub fn local_seed_dict_mut(&mut self) -> &mut [u8] { type Update (line 172) | pub struct Update { method buffer_length (line 192) | fn buffer_length(&self) -> usize { method to_bytes (line 198) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut T) { method from_byte_slice (line 210) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( function buffer_read (line 245) | fn buffer_read() { function decode_invalid_seed_dict (line 262) | fn decode_invalid_seed_dict() { function decode (line 281) | fn decode() { function stream_parse (line 288) | fn stream_parse() { function encode (line 295) | fn encode() { FILE: rust/xaynet-core/src/message/traits.rs type ToBytes (line 27) | pub trait ToBytes { method buffer_length (line 29) | fn buffer_length(&self) -> usize; method to_bytes (line 38) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut T); method buffer_length (line 77) | fn buffer_length(&self) -> usize { method to_bytes (line 81) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut U) { method buffer_length (line 280) | fn buffer_length(&self) -> usize { method to_bytes (line 284) | fn to_bytes + AsRef<[u8]>>(&self, buffer: &mut T) { type FromBytes (line 44) | pub trait FromBytes: Sized { method from_byte_slice (line 49) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( method from_byte_slice (line 60) | fn from_byte_slice>(buffer: &U) -> Result + ExactSizeIterator>( method from_byte_slice (line 296) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( method from_byte_slice (line 356) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( method from_byte_slice (line 378) | fn from_byte_slice>(buffer: &T) -> Result + ExactSizeIterator>( type LengthValueBuffer (line 126) | pub struct LengthValueBuffer { constant LENGTH_FIELD (line 131) | const LENGTH_FIELD: Range = 0..4; function new (line 164) | pub fn new(bytes: T) -> Result { function new_unchecked (line 173) | pub fn new_unchecked(bytes: T) -> Self { function check_buffer_length (line 178) | pub fn check_buffer_length(&self) -> Result<(), DecodeError> { function length (line 211) | pub fn length(&self) -> u32 { function value_length (line 217) | pub fn value_length(&self) -> usize { function value_range (line 222) | fn value_range(&self) -> Range { function set_length (line 234) | pub fn set_length(&mut self, value: u32) { function value_mut (line 244) | pub fn value_mut(&mut self) -> &mut [u8] { function bytes_mut (line 253) | pub fn bytes_mut(&mut self) -> &mut [u8] { function value (line 263) | pub fn value(&self) -> &'a [u8] { function bytes (line 271) | pub fn bytes(self) -> &'a [u8] { constant ENTRY_LENGTH (line 277) | const ENTRY_LENGTH: usize = SumParticipantPublicKey::LENGTH + EncryptedM... function decode_length_value_buffer (line 406) | fn decode_length_value_buffer() { function decode_empty_value (line 419) | fn decode_empty_value() { function decode_length_value_buffer_buffer_exhausted (line 427) | fn decode_length_value_buffer_buffer_exhausted() { function decode_length_value_buffer_invalid_length (line 436) | fn decode_length_value_buffer_invalid_length() { function encode_length_value_buffer (line 446) | fn encode_length_value_buffer() { function encode_length_value_buffer_emty (line 461) | fn encode_length_value_buffer_emty() { function parse_u16 (line 475) | fn parse_u16() { FILE: rust/xaynet-core/src/message/utils/chunkable_iterator.rs type ChunkableIterator (line 17) | pub trait ChunkableIterator: Iterator + Sized { method chunks (line 81) | fn chunks(self, size: usize) -> IntoChunks; method chunks (line 88) | fn chunks(self, size: usize) -> IntoChunks { type Inner (line 93) | struct Inner function fmt (line 113) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function remaining (line 128) | fn remaining(&self) -> usize { function new (line 138) | fn new(mut iter: I, chunk_size: usize) -> Self { function get (line 153) | fn get(&mut self, index: usize) -> Option { type IntoChunks (line 173) | pub struct IntoChunks function fmt (line 186) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function new (line 198) | pub fn new(iter: I, chunk_size: usize) -> Self { function next_chunk_range (line 205) | fn next_chunk_range(&self) -> Range { function exhausted (line 212) | fn exhausted(&self) -> bool { function get (line 236) | pub fn get(&self, index: usize) -> Option { function remaining (line 246) | fn remaining(&self) -> usize { type Item (line 255) | type Item = Chunk<'a, I>; type IntoIter (line 256) | type IntoIter = Chunks<'a, I>; method into_iter (line 258) | fn into_iter(self) -> Self::IntoIter { type Chunks (line 264) | pub struct Chunks<'a, I> function fmt (line 276) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Item (line 287) | type Item = Chunk<'a, I>; method next (line 289) | fn next(&mut self) -> Option> { type Chunk (line 304) | pub struct Chunk<'a, I> function fmt (line 317) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Item (line 329) | type Item = I::Item; method next (line 331) | fn next(&mut self) -> Option { method len (line 352) | fn len(&self) -> usize { function full_chunks_1 (line 362) | fn full_chunks_1() { function full_chunks_2 (line 388) | fn full_chunks_2() { function partial_chunk (line 421) | fn partial_chunk() { function chunks_consumed_out_of_order (line 443) | fn chunks_consumed_out_of_order() { function weird (line 465) | fn weird() { FILE: rust/xaynet-core/src/message/utils/mod.rs function range (line 13) | pub(crate) const fn range(start: usize, length: usize) -> Range { FILE: rust/xaynet-core/src/testutils/messages.rs constant HEADER_LENGTH (line 24) | pub const HEADER_LENGTH: usize = 136; function signature (line 26) | pub fn signature() -> (Signature, Vec) { function participant_pk (line 32) | pub fn participant_pk() -> (PublicSigningKey, Vec) { function coordinator_pk (line 38) | pub fn coordinator_pk() -> (PublicEncryptKey, Vec) { function message (line 44) | pub fn message(f: F) -> (Message, Vec) function sum_task_signature (line 84) | pub fn sum_task_signature() -> (Signature, Vec) { function ephm_pk (line 91) | pub fn ephm_pk() -> (PublicEncryptKey, Vec) { function payload (line 98) | pub fn payload() -> (Sum, Vec) { function update_task_signature (line 118) | pub fn update_task_signature() -> (Signature, Vec) { function local_seed_dict (line 126) | pub fn local_seed_dict() -> (LocalSeedDict, Vec) { function payload (line 152) | pub fn payload() -> (Update, Vec) { function payload (line 176) | pub fn payload() -> (Sum2, Vec) { function mask_config (line 205) | pub fn mask_config() -> (MaskConfig, Vec) { function mask_vect (line 219) | pub fn mask_vect() -> (MaskVect, Vec) { function mask_unit (line 242) | pub fn mask_unit() -> (MaskUnit, Vec) { function mask_object (line 255) | pub fn mask_object() -> (MaskObject, Vec) { function check_object_lengths (line 272) | fn check_object_lengths() { FILE: rust/xaynet-core/src/testutils/multipart.rs function local_seed_dict (line 23) | pub fn local_seed_dict(len: usize) -> LocalSeedDict { function mask_object (line 46) | pub fn mask_object(len: usize) -> MaskObject { function mask_config (line 84) | pub fn mask_config() -> MaskConfig { function task_signatures (line 95) | pub fn task_signatures() -> (Signature, Signature) { function update (line 111) | pub fn update(dict_len: usize, mask_obj_len: usize) -> Update { function message (line 144) | pub fn message(dict_len: usize, mask_obj_len: usize) -> Message { FILE: rust/xaynet-mobile/build.rs function cargo_rerun_if_changed (line 11) | fn cargo_rerun_if_changed(entry: impl AsRef) { function main (line 22) | fn main() { FILE: rust/xaynet-mobile/src/ffi/config.rs function xaynet_ffi_local_model_config_destroy (line 33) | pub unsafe extern "C" fn xaynet_ffi_local_model_config_destroy( type LocalModelConfig (line 47) | pub struct LocalModelConfig { method from (line 55) | fn from(lmc: xaynet_sdk::LocalModelConfig) -> Self { type ModelDataType (line 65) | pub enum ModelDataType { method from (line 77) | fn from(dt: DataType) -> Self { FILE: rust/xaynet-mobile/src/ffi/mod.rs function xaynet_ffi_byte_buffer_destroy (line 40) | pub unsafe extern "C" fn xaynet_ffi_byte_buffer_destroy( function xaynet_ffi_crypto_init (line 70) | pub unsafe extern "C" fn xaynet_ffi_crypto_init() -> c_int { constant OK (line 79) | pub const OK: c_int = 0; constant ERR_NULLPTR (line 81) | pub const ERR_NULLPTR: c_int = 1; constant ERR_INVALID_URL (line 83) | pub const ERR_INVALID_URL: c_int = 2; constant ERR_SETTINGS_URL (line 85) | pub const ERR_SETTINGS_URL: c_int = 3; constant ERR_SETTINGS_KEYS (line 87) | pub const ERR_SETTINGS_KEYS: c_int = 4; constant ERR_SETTINGS_SCALAR (line 89) | pub const ERR_SETTINGS_SCALAR: c_int = 5; constant ERR_SETMODEL_MODEL (line 91) | pub const ERR_SETMODEL_MODEL: c_int = 6; constant ERR_SETMODEL_DATATYPE (line 93) | pub const ERR_SETMODEL_DATATYPE: c_int = 7; constant ERR_CRYPTO_INIT (line 95) | pub const ERR_CRYPTO_INIT: c_int = 8; constant ERR_CRYPTO_SECRET_KEY (line 97) | pub const ERR_CRYPTO_SECRET_KEY: c_int = 9; constant ERR_CRYPTO_PUBLIC_KEY (line 99) | pub const ERR_CRYPTO_PUBLIC_KEY: c_int = 10; constant GLOBALMODEL_NONE (line 101) | pub const GLOBALMODEL_NONE: c_int = 11; constant ERR_GLOBALMODEL_IO (line 103) | pub const ERR_GLOBALMODEL_IO: c_int = 12; constant ERR_GLOBALMODEL_DATATYPE (line 105) | pub const ERR_GLOBALMODEL_DATATYPE: c_int = 13; constant ERR_GLOBALMODEL_LEN (line 107) | pub const ERR_GLOBALMODEL_LEN: c_int = 14; constant ERR_GLOBALMODEL_CONVERT (line 109) | pub const ERR_GLOBALMODEL_CONVERT: c_int = 15; FILE: rust/xaynet-mobile/src/ffi/participant.rs function xaynet_ffi_participant_destroy (line 53) | pub unsafe extern "C" fn xaynet_ffi_participant_destroy(participant: *mu... constant PARTICIPANT_TASK_NONE (line 62) | pub const PARTICIPANT_TASK_NONE: c_int = 1; constant PARTICIPANT_TASK_SUM (line 64) | pub const PARTICIPANT_TASK_SUM: c_int = 1 << 1; constant PARTICIPANT_TASK_UPDATE (line 66) | pub const PARTICIPANT_TASK_UPDATE: c_int = 1 << 2; constant PARTICIPANT_SHOULD_SET_MODEL (line 68) | pub const PARTICIPANT_SHOULD_SET_MODEL: c_int = 1 << 3; constant PARTICIPANT_MADE_PROGRESS (line 70) | pub const PARTICIPANT_MADE_PROGRESS: c_int = 1 << 4; constant PARTICIPANT_NEW_GLOBALMODEL (line 72) | pub const PARTICIPANT_NEW_GLOBALMODEL: c_int = 1 << 5; function xaynet_ffi_participant_new (line 97) | pub unsafe extern "C" fn xaynet_ffi_participant_new(settings: *const Set... function xaynet_ffi_participant_tick (line 154) | pub unsafe extern "C" fn xaynet_ffi_participant_tick(participant: *mut P... function xaynet_ffi_participant_save (line 215) | pub unsafe extern "C" fn xaynet_ffi_participant_save( function xaynet_ffi_participant_restore (line 265) | pub unsafe extern "C" fn xaynet_ffi_participant_restore( function xaynet_ffi_participant_set_model (line 316) | pub unsafe extern "C" fn xaynet_ffi_participant_set_model( function xaynet_ffi_participant_global_model (line 402) | pub unsafe extern "C" fn xaynet_ffi_participant_global_model( function xaynet_ffi_participant_local_model_config (line 470) | pub unsafe extern "C" fn xaynet_ffi_participant_local_model_config( FILE: rust/xaynet-mobile/src/ffi/settings.rs function xaynet_ffi_settings_destroy (line 46) | pub unsafe extern "C" fn xaynet_ffi_settings_destroy(settings: *mut Sett... function xaynet_ffi_settings_new (line 62) | pub unsafe extern "C" fn xaynet_ffi_settings_new() -> *mut Settings { function xaynet_ffi_settings_set_scalar (line 84) | pub unsafe extern "C" fn xaynet_ffi_settings_set_scalar( function xaynet_ffi_settings_set_url (line 116) | pub unsafe extern "C" fn xaynet_ffi_settings_set_url( type KeyPair (line 135) | pub struct KeyPair { function xaynet_ffi_generate_key_pair (line 155) | pub unsafe extern "C" fn xaynet_ffi_generate_key_pair() -> *const KeyPair { function xaynet_ffi_forget_key_pair (line 188) | pub unsafe extern "C" fn xaynet_ffi_forget_key_pair(key_pair: *const Key... function xaynet_ffi_settings_set_keys (line 221) | pub unsafe extern "C" fn xaynet_ffi_settings_set_keys( function xaynet_ffi_check_settings (line 274) | pub unsafe extern "C" fn xaynet_ffi_check_settings(settings: *const Sett... FILE: rust/xaynet-mobile/src/participant.rs type Event (line 30) | pub enum Event { type Notifier (line 46) | pub struct Notifier(mpsc::Sender); method notify (line 48) | fn notify(&mut self, event: Event) { type Events (line 56) | pub struct Events(mpsc::Receiver); method new (line 60) | fn new() -> (Self, Notifier) { method next (line 66) | fn next(&mut self) -> Option { method new_round (line 87) | fn new_round(&mut self) { method sum (line 90) | fn sum(&mut self) { method update (line 93) | fn update(&mut self) { method load_model (line 96) | fn load_model(&mut self) { method idle (line 99) | fn idle(&mut self) { type Store (line 108) | struct Store(Arc>>); method new (line 112) | fn new() -> Self { type Model (line 119) | type Model = Model; type Error (line 120) | type Error = std::convert::Infallible; method load_model (line 122) | async fn load_model(&mut self) -> Result, Self::Erro... type Task (line 129) | pub enum Task { type Participant (line 142) | pub struct Participant { method new (line 185) | pub fn new(settings: Settings) -> Result { method restore (line 198) | pub fn restore(state: &[u8], url: &str) -> Result { method init (line 207) | fn init( method runtime (line 228) | fn runtime() -> Result { method save (line 236) | pub fn save(self) -> Vec { method tick (line 252) | pub fn tick(&mut self) { method process_events (line 271) | fn process_events(&mut self) { method made_progress (line 297) | pub fn made_progress(&self) -> bool { method should_set_model (line 304) | pub fn should_set_model(&self) -> bool { method new_global_model (line 310) | pub fn new_global_model(&self) -> bool { method task (line 315) | pub fn task(&self) -> Task { method set_model (line 321) | pub fn set_model(&mut self, model: Model) { method global_model (line 336) | pub fn global_model(&mut self) -> Result, GetGlobalModel... method local_model_config (line 353) | pub fn local_model_config(&self) -> LocalModelConfig { type InitError (line 168) | pub enum InitError { type GetGlobalModelError (line 181) | pub struct GetGlobalModelError(xaynet_sdk::client::ClientError); FILE: rust/xaynet-mobile/src/reqwest_client.rs type ClientError (line 9) | pub enum ClientError { method trust_anchor (line 21) | fn trust_anchor(path: String, e: E) -> Self { method client_cert (line 25) | fn client_cert(path: String, e: E) -> Self { method other (line 29) | fn other(e: E) -> Self { function new_client (line 43) | pub fn new_client( FILE: rust/xaynet-mobile/src/settings.rs type Settings (line 15) | pub struct Settings { method new (line 34) | pub fn new() -> Self { method set_keys (line 44) | pub fn set_keys(&mut self, keys: SigningKeyPair) { method set_scalar (line 49) | pub fn set_scalar(&mut self, scalar: f64) { method set_url (line 54) | pub fn set_url(&mut self, url: String) { method set_max_message_size (line 59) | pub fn set_max_message_size(&mut self, size: MaxMessageSize) { method check (line 64) | pub fn check(&self) -> Result<(), SettingsError> { type Error (line 89) | type Error = SettingsError; method try_into (line 91) | fn try_into(self) -> Result<(String, PetSettings), Self::Error> { method default (line 27) | fn default() -> Self { type SettingsError (line 79) | pub enum SettingsError { FILE: rust/xaynet-mobile/tests/ffi_test.c function with_keys (line 49) | void with_keys(Settings *settings) { function with_url (line 56) | void with_url(Settings *settings) { function main (line 187) | int main(int argc, char **argv) { FILE: rust/xaynet-mobile/xaynet_ffi.h type ModelDataType (line 123) | enum ModelDataType { type ModelDataType (line 141) | typedef uint8_t ModelDataType; type KeyPair (line 146) | typedef struct KeyPair KeyPair; type Participant (line 154) | typedef struct Participant Participant; type Settings (line 159) | typedef struct Settings Settings; type ByteBuffer (line 242) | typedef struct ByteBuffer { type LocalModelConfig (line 299) | typedef struct LocalModelConfig { type ByteBuffer (line 336) | struct ByteBuffer type Participant (line 378) | struct Participant type Participant (line 404) | struct Participant type Settings (line 404) | struct Settings type Participant (line 452) | struct Participant type ByteBuffer (line 490) | struct ByteBuffer type Participant (line 490) | struct Participant type Participant (line 532) | struct Participant type ByteBuffer (line 532) | struct ByteBuffer type Participant (line 565) | struct Participant type Participant (line 608) | struct Participant type LocalModelConfig (line 627) | struct LocalModelConfig type Participant (line 627) | struct Participant type Settings (line 652) | struct Settings type Settings (line 663) | struct Settings type Settings (line 684) | struct Settings type Settings (line 706) | struct Settings type KeyPair (line 723) | struct KeyPair type KeyPair (line 745) | struct KeyPair type Settings (line 768) | struct Settings type KeyPair (line 768) | struct KeyPair type Settings (line 794) | struct Settings type LocalModelConfig (line 820) | struct LocalModelConfig FILE: rust/xaynet-sdk/src/client.rs type ClientError (line 16) | pub enum ClientError { method http_error (line 41) | fn http_error(e: E) -> Self { method from (line 47) | fn from(e: bincode::Error) -> Self { method from (line 53) | fn from(e: std::num::ParseIntError) -> Self { type XaynetHttpClient (line 60) | pub trait XaynetHttpClient { method get (line 70) | async fn get(&mut self, url: &str) -> Result... method post (line 73) | async fn post(&mut self, url: &str, body: Vec) -> Result<(), Clien... type Error (line 184) | type Error = reqwest::Error; type GetResponse (line 185) | type GetResponse = bytes::Bytes; method get (line 187) | async fn get(&mut self, url: &str) -> Result... method post (line 203) | async fn post(&mut self, url: &str, body: Vec) -> Result<(), Clien... type Client (line 78) | pub struct Client { type InvalidBaseUrl (line 89) | pub struct InvalidBaseUrl(String); function new (line 106) | pub fn new(http_client: C, base_url: &str) -> Result Url { function get (line 124) | async fn get(&mut self, url: &Url) -> Result, ClientError> function post (line 134) | async fn post(&mut self, url: &Url, data: Vec) -> Result<(), ClientE... type Error (line 144) | type Error = ClientError; method get_round_params (line 146) | async fn get_round_params(&mut self) -> Result Result, Self::Error> { method get_seeds (line 159) | async fn get_seeds( method get_model (line 169) | async fn get_model(&mut self) -> Result, Self::Error> { method send_message (line 174) | async fn send_message(&mut self, msg: Vec) -> Result<(), Self::Error> { FILE: rust/xaynet-sdk/src/message_encoder/chunker.rs constant DEFAULT_CHUNK_SIZE (line 6) | pub const DEFAULT_CHUNK_SIZE: usize = 4096; type Chunker (line 9) | pub struct Chunker<'a, T: AsRef<[u8]>> { function new (line 21) | pub fn new(data: &'a T, max_chunk_size: usize) -> Self { function nb_chunks (line 34) | pub fn nb_chunks(&self) -> usize { function get_chunk (line 44) | pub fn get_chunk(&self, id: usize) -> &'a [u8] { function ceiling_div (line 60) | fn ceiling_div(n: usize, d: usize) -> usize { function test_0 (line 70) | fn test_0() { function test_1 (line 79) | fn test_1() { function test_2 (line 93) | fn test_2() { function test_3 (line 107) | fn test_3() { function test_4 (line 120) | fn test_4() { function test_5 (line 130) | fn test_5() { FILE: rust/xaynet-sdk/src/message_encoder/encoder.rs type MultipartEncoder (line 14) | pub struct MultipartEncoder { constant CHUNK_OVERHEAD (line 33) | pub const CHUNK_OVERHEAD: usize = 8; constant MIN_PAYLOAD_SIZE (line 34) | pub const MIN_PAYLOAD_SIZE: usize = CHUNK_OVERHEAD + 1; type Item (line 37) | type Item = Vec; method next (line 39) | fn next(&mut self) -> Option { type MessageEncoder (line 74) | pub enum MessageEncoder { method new (line 115) | pub fn new( method new_simple (line 143) | fn new_simple( method new_multipart (line 161) | fn new_multipart( method get_tag_from_payload (line 181) | fn get_tag_from_payload(payload: &Payload) -> Tag { type Item (line 83) | type Item = Vec; method next (line 85) | fn next(&mut self) -> Option { type InvalidEncodingInput (line 94) | pub enum InvalidEncodingInput { function participant_keys (line 201) | fn participant_keys() -> SigningKeyPair { function coordinator_keys (line 206) | fn coordinator_keys() -> EncryptKeyPair { function message (line 211) | fn message(dict_len: usize, mask_obj_len: usize) -> Message { function small_message (line 223) | fn small_message() -> Message { function no_chunk (line 235) | fn no_chunk() { function two_chunks (line 254) | fn two_chunks() { function extract_chunk (line 296) | fn extract_chunk(message: Message) -> Chunk { function extract_update (line 304) | fn extract_update(message: Message) -> Update { function serialize_message (line 313) | fn serialize_message(message: &Message, sk: &SecretSigningKey) -> Vec { FILE: rust/xaynet-sdk/src/settings/max_message_size.rs constant MINIMUM_PAYLOAD_SIZE (line 7) | pub const MINIMUM_PAYLOAD_SIZE: usize = 1; constant ENCRYPTION_HEADER_LENGTH (line 9) | pub const ENCRYPTION_HEADER_LENGTH: usize = xaynet_core::crypto::SEALBYTES; constant MIN_MESSAGE_SIZE (line 11) | pub const MIN_MESSAGE_SIZE: usize = type InvalidMaxMessageSize (line 17) | pub struct InvalidMaxMessageSize; type MaxMessageSize (line 24) | pub struct MaxMessageSize(#[serde(deserialize_with = "deserialize")] Opt... method unlimited (line 37) | pub fn unlimited() -> Self { method capped (line 47) | pub fn capped(size: usize) -> Result { method max_payload_size (line 57) | pub fn max_payload_size(&self) -> Option { method default (line 27) | fn default() -> Self { function deserialize (line 63) | fn deserialize<'de, D>(deserializer: D) -> Result, D::Error> function max_message_size_deserialization_capped (line 90) | fn max_message_size_deserialization_capped() { function max_message_size_deserialization_unlimited (line 98) | fn max_message_size_deserialization_unlimited() { function max_message_size_deserialization_err (line 106) | fn max_message_size_deserialization_err() { function max_message_size_serialization_capped (line 121) | fn max_message_size_serialization_capped() { function max_message_size_serialization_unlimited (line 129) | fn max_message_size_serialization_unlimited() { FILE: rust/xaynet-sdk/src/settings/mod.rs type PetSettings (line 9) | pub struct PetSettings { method new (line 16) | pub fn new(keys: SigningKeyPair) -> Self { FILE: rust/xaynet-sdk/src/state_machine/io.rs function boxed_io (line 16) | pub(crate) fn boxed_io( type DynModel (line 30) | type DynModel = Box<(dyn std::convert::AsRef +... type IO (line 47) | pub(crate) trait IO: Send + 'static { method load_model (line 51) | async fn load_model(&mut self) -> Result, Box Result Result, Box>; method get_seeds (line 58) | async fn get_seeds( method get_model (line 63) | async fn get_model(&mut self) -> Result, Box>; method send_message (line 65) | async fn send_message(&mut self, msg: Vec) -> Result<(), Box + Send>; method load_model (line 111) | async fn load_model(&mut self) -> Result, Box Result Result, Box> { method get_seeds (line 133) | async fn get_seeds( method get_model (line 143) | async fn get_model(&mut self) -> Result, Box> { method send_message (line 150) | async fn send_message(&mut self, msg: Vec) -> Result<(), Box + Send>; method load_model (line 182) | async fn load_model(&mut self) -> Result, Box Result Result, Box> { method get_seeds (line 194) | async fn get_seeds( method get_model (line 201) | async fn get_model(&mut self) -> Result, Box> { method send_message (line 205) | async fn send_message(&mut self, msg: Vec) -> Result<(), Box { function new (line 93) | pub fn new(xaynet_client: X, model_store: M, notifier: N) -> Self { FILE: rust/xaynet-sdk/src/state_machine/phase.rs type State (line 22) | pub struct State

{ function new (line 31) | pub fn new(shared: Box, private: Box

) -> Self { type PhaseIo (line 37) | pub(crate) type PhaseIo = Box + Send... type Phase (line 40) | pub struct Phase

{ function fmt (line 52) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { type SharedState (line 62) | pub struct SharedState { method new (line 97) | pub fn new(settings: PetSettings) -> Self { function dummy_round_parameters (line 79) | fn dummy_round_parameters() -> RoundParameters { type Step (line 110) | pub trait Step { method step (line 115) | async fn step(mut self) -> TransitionOutcome; type Progress (line 135) | pub enum Progress

{ function step (line 160) | pub async fn step(mut self) -> TransitionOutcome { function check_round_freshness (line 183) | async fn check_round_freshness(&mut self) -> RoundFreshness { type IntoPhase (line 209) | pub(crate) trait IntoPhase

{ method into_phase (line 211) | fn into_phase(self, io: PhaseIo) -> Phase

; function new (line 217) | pub(crate) fn new(state: State

, io: PhaseIo) -> Self { function message_encoder (line 225) | pub fn message_encoder(&self, payload: Payload) -> MessageEncoder { function local_model_config (line 243) | pub fn local_model_config(&self) -> LocalModelConfig { function with_io_mock (line 251) | pub(crate) fn with_io_mock(&mut self, f: F) function check_io_mock (line 261) | pub(crate) fn check_io_mock(&mut self) { type LocalModelConfig (line 271) | pub struct LocalModelConfig { type SendMessageError (line 283) | pub struct SendMessageError; type RoundFreshness (line 286) | pub enum RoundFreshness { type SerializableState (line 304) | pub enum SerializableState { method from (line 319) | fn from(phase: Phase

) -> Self { FILE: rust/xaynet-sdk/src/state_machine/phases/awaiting.rs type Awaiting (line 8) | pub struct Awaiting; method step (line 12) | async fn step(mut self) -> TransitionOutcome { function into_phase (line 19) | fn into_phase(self, mut io: PhaseIo) -> Phase { FILE: rust/xaynet-sdk/src/state_machine/phases/new_round.rs type NewRound (line 19) | pub struct NewRound; function into_phase (line 22) | fn into_phase(self, mut io: PhaseIo) -> Phase { method step (line 30) | async fn step(mut self) -> TransitionOutcome { function from (line 56) | fn from(new_round: Phase) -> Self { function sign (line 62) | fn sign(&self, data: &[u8]) -> Signature { function into_sum (line 68) | fn into_sum(self, sum_signature: Signature) -> Phase { function into_update (line 74) | fn into_update(self, sum_signature: Signature, update_signature: Signatu... FILE: rust/xaynet-sdk/src/state_machine/phases/sum.rs type Sum (line 18) | pub struct Sum { method new (line 29) | pub fn new(sum_signature: Signature) -> Self { function into_phase (line 38) | fn into_phase(self, mut io: PhaseIo) -> Phase { method step (line 46) | async fn step(mut self) -> TransitionOutcome { function from (line 54) | fn from(sum: Phase) -> Self { function from (line 67) | fn from(sum: Phase) -> Self { function compose_message (line 74) | pub fn compose_message(&self) -> MessageEncoder { FILE: rust/xaynet-sdk/src/state_machine/phases/sum2.rs type Sum2 (line 30) | pub struct Sum2 { method new (line 49) | pub fn new(ephm_keys: EncryptKeyPair, sum_signature: Signature) -> Self { method has_fetched_seed_dict (line 60) | fn has_fetched_seed_dict(&self) -> bool { method has_decrypted_seeds (line 65) | fn has_decrypted_seeds(&self) -> bool { method has_aggregated_masks (line 70) | fn has_aggregated_masks(&self) -> bool { function into_phase (line 76) | fn into_phase(self, io: PhaseIo) -> Phase { method step (line 83) | async fn step(mut self) -> TransitionOutcome { function from (line 94) | fn from(mut sum2: Phase) -> Self { function from (line 106) | fn from(sum2: Phase) -> Self { function fetch_seed_dict (line 113) | pub(crate) async fn fetch_seed_dict(mut self) -> Progress { function decrypt_seeds (line 135) | pub(crate) fn decrypt_seeds(mut self) -> Progress { function aggregate_masks (line 170) | pub(crate) fn aggregate_masks(mut self) -> Progress { function compose_message (line 196) | pub fn compose_message(&mut self) -> MessageEncoder { FILE: rust/xaynet-sdk/src/state_machine/phases/update.rs type LocalModel (line 34) | pub enum LocalModel { method fmt (line 40) | fn fmt(&self, fmt: &mut std::fmt::Formatter) -> std::fmt::Result { method as_ref (line 51) | fn as_ref(&self) -> &Model { method serialize (line 60) | fn serialize(&self, serializer: S) -> Result method deserialize (line 72) | fn deserialize(deserializer: D) -> Result type Update (line 83) | pub struct Update { method new (line 94) | pub fn new(sum_signature: Signature, update_signature: Signature) -> S... method has_fetched_sum_dict (line 105) | fn has_fetched_sum_dict(&self) -> bool { method has_loaded_model (line 109) | fn has_loaded_model(&self) -> bool { method has_masked_model (line 113) | fn has_masked_model(&self) -> bool { method has_built_seed_dict (line 117) | fn has_built_seed_dict(&self) -> bool { function into_phase (line 123) | fn into_phase(self, mut io: PhaseIo) -> Phase { method step (line 134) | async fn step(mut self) -> TransitionOutcome { function from (line 145) | fn from(mut update: Phase) -> Self { function from (line 157) | fn from(update: Phase) -> Self { function fetch_sum_dict (line 163) | pub(crate) async fn fetch_sum_dict(mut self) -> Progress { function load_model (line 185) | pub(crate) async fn load_model(mut self) -> Progress { function mask_model (line 209) | pub(crate) fn mask_model(mut self) -> Progress { function build_seed_dict (line 225) | pub(crate) fn build_seed_dict(mut self) -> Progress { function compose_message (line 247) | pub fn compose_message(&mut self) -> MessageEncoder { FILE: rust/xaynet-sdk/src/state_machine/state_machine.rs type TransitionOutcome (line 24) | pub enum TransitionOutcome { type StateMachine (line 34) | pub enum StateMachine { method transition (line 55) | pub async fn transition(self) -> TransitionOutcome { method save (line 70) | pub fn save(self) -> SerializableState { method local_model_config (line 84) | pub fn local_model_config(&self) -> LocalModelConfig { method new (line 108) | pub fn new( method restore (line 125) | pub fn restore( FILE: rust/xaynet-sdk/src/state_machine/tests/phases/new_round.rs function test_selected_for_sum (line 14) | async fn test_selected_for_sum() { function test_selected_for_update (line 22) | async fn test_selected_for_update() { function test_not_selected (line 31) | async fn test_not_selected() { function make_phase (line 47) | fn make_phase(task: SelectFor, io: MockIO) -> Phase { FILE: rust/xaynet-sdk/src/state_machine/tests/phases/sum.rs function make_phase (line 18) | fn make_phase(io: MockIO) -> Phase { function make_sum (line 33) | fn make_sum(shared: &SharedState) -> Box { function test_phase (line 45) | async fn test_phase() { type DummyErr (line 53) | struct DummyErr; FILE: rust/xaynet-sdk/src/state_machine/tests/phases/sum2.rs function make_phase (line 24) | fn make_phase() -> Phase { function make_sum2 (line 36) | fn make_sum2(shared: &SharedState) -> Box { function make_seed_dict (line 50) | fn make_seed_dict(mask_config: MaskConfigPair, ephm_pk: PublicEncryptKey... function make_model (line 61) | fn make_model() -> Model { function make_masked_model (line 65) | fn make_masked_model(mask_config: MaskConfigPair) -> (MaskSeed, MaskObje... function step1_fetch_seed_dict (line 72) | async fn step1_fetch_seed_dict(mut phase: Phase) -> Phase { function step2_decrypt_seeds (line 103) | async fn step2_decrypt_seeds(phase: Phase) -> Phase { function step3_aggregate_masks (line 111) | async fn step3_aggregate_masks(phase: Phase) -> Phase { function step4_into_sending_phase (line 119) | async fn step4_into_sending_phase(phase: Phase) -> Phase Phase { function make_update (line 39) | fn make_update(shared: &SharedState) -> Box { function make_model (line 54) | fn make_model() -> Model { function make_sum_dict (line 59) | fn make_sum_dict() -> SumDict { function step1_fetch_sum_dict (line 71) | async fn step1_fetch_sum_dict(mut phase: Phase) -> Phase { function step2_load_model (line 100) | async fn step2_load_model(mut phase: Phase) -> Phase { function step3_mask_model (line 129) | async fn step3_mask_model(phase: Phase) -> Phase { function step4_build_seed_dict (line 136) | async fn step4_build_seed_dict(phase: Phase) -> Phase { function step5_into_sending_phase (line 143) | async fn step5_into_sending_phase(phase: Phase) -> Phase MaskConfig { function round_params (line 143) | pub fn round_params(task: SelectFor) -> RoundParameters { function shared_state (line 154) | pub fn shared_state(task: SelectFor) -> Box { type EncryptKeyGenerator (line 163) | pub struct EncryptKeyGenerator(EncryptKeySeed); method new (line 166) | pub fn new() -> Self { method incr_seed (line 170) | fn incr_seed(&mut self) { method next (line 181) | pub fn next(&mut self) -> EncryptKeyPair { type SigningKeyGenerator (line 188) | pub struct SigningKeyGenerator(SigningKeySeed); method new (line 191) | pub fn new() -> Self { method incr_seed (line 195) | fn incr_seed(&mut self) { method next (line 206) | pub fn next(&mut self) -> SigningKeyPair { FILE: rust/xaynet-sdk/src/traits.rs type Notify (line 15) | pub trait Notify { method new_round (line 18) | fn new_round(&mut self) {} method sum (line 21) | fn sum(&mut self) {} method update (line 24) | fn update(&mut self) {} method idle (line 27) | fn idle(&mut self) {} method load_model (line 30) | fn load_model(&mut self) {} type ModelStore (line 38) | pub trait ModelStore { method load_model (line 44) | async fn load_model(&mut self) -> Result, Self::Er... type XaynetClient (line 52) | pub trait XaynetClient { method get_round_params (line 56) | async fn get_round_params(&mut self) -> Result Result, Self::Error>; method get_seeds (line 63) | async fn get_seeds( method get_model (line 69) | async fn get_model(&mut self) -> Result, Self::Error>; method send_message (line 72) | async fn send_message(&mut self, msg: Vec) -> Result<(), Self::Err... FILE: rust/xaynet-sdk/src/utils/concurrent_futures.rs type ConcurrentFutures (line 18) | pub struct ConcurrentFutures function new (line 36) | pub fn new(max_in_flight: usize) -> Self { function push (line 44) | pub fn push(&mut self, task: T) { type Item (line 61) | type Item = Result; method poll_next (line 62) | fn poll_next(self: Pin<&mut Self>, cx: &mut Context) -> Poll Option<&'static Recorder> { method install (line 26) | pub fn install(recorder: Recorder) -> Result<(), Recorder> { FILE: rust/xaynet-server/src/metrics/recorders/influxdb/dispatcher.rs type Request (line 10) | pub(in crate::metrics) enum Request { method from (line 16) | fn from(req: Request) -> Self { type Dispatcher (line 25) | pub(in crate::metrics) struct Dispatcher { method new (line 30) | pub fn new(url: impl Into, database: impl Into) -> Self { type Response (line 37) | type Response = (); type Error (line 38) | type Error = anyhow::Error; type Future (line 39) | type Future = BoxFuture<'static, Result>; method poll_ready (line 41) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { function influx_settings (line 74) | fn influx_settings() -> InfluxSettings { function integration_dispatch_metric (line 83) | async fn integration_dispatch_metric() { function integration_dispatch_event (line 95) | async fn integration_dispatch_event() { function integration_wrong_url (line 107) | async fn integration_wrong_url() { FILE: rust/xaynet-server/src/metrics/recorders/influxdb/models.rs type Measurement (line 7) | pub enum Measurement { function from (line 19) | fn from(measurement: Measurement) -> &'static str { method from (line 34) | fn from(measurement: Measurement) -> Self { type Tags (line 40) | pub struct Tags(Vec<(String, Type)>); method new (line 44) | pub fn new() -> Self { method add (line 49) | pub fn add(&mut self, tag: impl Into, value: impl Into) { method default (line 55) | fn default() -> Self { type Item (line 61) | type Item = as IntoIterator>::Item; type IntoIter (line 62) | type IntoIter = as IntoIterator>::IntoIter; method into_iter (line 64) | fn into_iter(self) -> Self::IntoIter { type Metric (line 70) | pub(in crate::metrics) struct Metric { method new (line 78) | pub(in crate::metrics) fn new(measurement: Measurement, value: impl In... method with_tags (line 87) | pub(in crate::metrics) fn with_tags(mut self, tags: T) -> Self method from (line 102) | fn from(metric: Metric) -> Self { type Event (line 117) | pub(in crate::metrics) struct Event { method new (line 126) | pub(in crate::metrics) fn new(title: impl Into) -> Self { method with_description (line 136) | pub(in crate::metrics) fn with_description(mut self, description... method with_tags (line 145) | pub(in crate::metrics) fn with_tags(mut self, tags: T) -> Self method from (line 161) | fn from(event: Event) -> Self { function test_basic_metric (line 197) | fn test_basic_metric() { function test_metric_with_tag (line 207) | fn test_metric_with_tag() { function test_metric_with_tags (line 217) | fn test_metric_with_tags() { function test_basic_event (line 231) | fn test_basic_event() { function test_event_with_description (line 241) | fn test_event_with_description() { function test_event_with_description_and_tag (line 251) | fn test_event_with_description_and_tag() { function test_event_with_description_and_tags (line 263) | fn test_event_with_description_and_tags() { function test_event_with_tag (line 275) | fn test_event_with_tag() { FILE: rust/xaynet-server/src/metrics/recorders/influxdb/recorder.rs type Recorder (line 12) | pub struct Recorder { method new (line 19) | pub fn new(settings: InfluxSettings) -> Self { method metric (line 27) | pub fn metric(&self, measurement: Measurement, value: V, tags... method event (line 38) | pub fn event(&self, title: H, description: D, tags: T) method call (line 53) | fn call(&self, req: Request) { FILE: rust/xaynet-server/src/metrics/recorders/influxdb/service.rs type InfluxDbService (line 4) | pub(in crate::metrics) struct InfluxDbService( method new (line 9) | pub fn new(dispatcher: Dispatcher) -> Self { FILE: rust/xaynet-server/src/rest.rs type SeedDictQuery (line 26) | struct SeedDictQuery { function serve (line 40) | pub async fn serve( function handle_message (line 93) | async fn handle_message( function handle_sums (line 104) | async fn handle_sums(mut fetcher: F) -> Result( function handle_model (line 157) | async fn handle_model(mut fetcher: F) -> Result(mut fetcher: F) -> Result( function part_pk (line 209) | async fn part_pk(query: SeedDictQuery) -> Result Result RestError { function configure_tls (line 259) | fn configure_tls( function run_http (line 287) | async fn run_http(filter: F, api_settings: ApiSettings) -> Result<(),... function run_https (line 301) | async fn run_https(filter: F, api_settings: ApiSettings) -> Result<()... FILE: rust/xaynet-server/src/services/fetchers/mod.rs type Fetcher (line 27) | pub trait Fetcher { method round_params (line 29) | async fn round_params(&mut self) -> Result Result; method seed_dict (line 36) | async fn seed_dict(&mut self) -> Result; method sum_dict (line 41) | async fn sum_dict(&mut self) -> Result; method round_params (line 79) | async fn round_params(&mut self) -> Result Result { method seed_dict (line 104) | async fn seed_dict(&mut self) -> Result { method sum_dict (line 115) | async fn sum_dict(&mut self) -> Result { type FetchError (line 45) | pub type FetchError = anyhow::Error; function into_fetch_error (line 47) | fn into_fetch_error(S); type Response (line 133) | type Response = S::Response; type Error (line 134) | type Error = S::Error; type Future (line 135) | type Future = S::Future; function poll_ready (line 137) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll Self::Future { type FetcherLayer (line 146) | pub(in crate::services) struct FetcherLayer; type Service (line 149) | type Service = FetcherService; method layer (line 151) | fn layer(&self, service: S) -> Self::Service { type Fetchers (line 157) | pub struct Fetchers { function new (line 165) | pub fn new( function fetcher (line 181) | pub fn fetcher(event_subscriber: &EventSubscriber) -> impl Fetcher + Syn... FILE: rust/xaynet-server/src/services/fetchers/model.rs type ModelRequest (line 16) | pub struct ModelRequest; type ModelResponse (line 21) | pub type ModelResponse = Option>; type ModelService (line 24) | pub struct ModelService(EventListener); method new (line 27) | pub fn new(events: &EventSubscriber) -> Self { type Response (line 33) | type Response = ModelResponse; type Error (line 34) | type Error = std::convert::Infallible; type Future (line 35) | type Future = Instrumented>>; method poll_ready (line 37) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { FILE: rust/xaynet-server/src/services/fetchers/round_parameters.rs type RoundParamsRequest (line 13) | pub struct RoundParamsRequest; type RoundParamsResponse (line 16) | pub type RoundParamsResponse = RoundParameters; type RoundParamsService (line 19) | pub struct RoundParamsService(EventListener); method new (line 22) | pub fn new(events: &EventSubscriber) -> Self { type Response (line 28) | type Response = RoundParameters; type Error (line 29) | type Error = std::convert::Infallible; type Future (line 30) | type Future = Instrumented>>; method poll_ready (line 32) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { FILE: rust/xaynet-server/src/services/fetchers/seed_dict.rs type SeedDictService (line 15) | pub struct SeedDictService(EventListener>); method new (line 18) | pub fn new(events: &EventSubscriber) -> Self { type Response (line 34) | type Response = SeedDictResponse; type Error (line 35) | type Error = std::convert::Infallible; type Future (line 36) | type Future = Instrumented>>; method poll_ready (line 38) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { type SeedDictRequest (line 25) | pub struct SeedDictRequest; type SeedDictResponse (line 31) | pub type SeedDictResponse = Option>; FILE: rust/xaynet-server/src/services/fetchers/sum_dict.rs type SumDictService (line 15) | pub struct SumDictService(EventListener>); method new (line 28) | pub fn new(events: &EventSubscriber) -> Self { type Response (line 34) | type Response = SumDictResponse; type Error (line 35) | type Error = std::convert::Infallible; type Future (line 36) | type Future = Instrumented>>; method poll_ready (line 38) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { type SumDictRequest (line 19) | pub struct SumDictRequest; type SumDictResponse (line 25) | pub type SumDictResponse = Option>; FILE: rust/xaynet-server/src/services/messages/decryptor.rs type RawDecryptor (line 24) | struct RawDecryptor { type Response (line 38) | type Response = Vec; type Error (line 39) | type Error = ServiceError; type Future (line 41) | type Future = method poll_ready (line 44) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { type Decryptor (line 73) | pub struct Decryptor(ConcurrencyLimit); method new (line 76) | pub fn new(state_machine_events: &EventSubscriber, thread_pool: Arc; type Error (line 92) | type Error = ServiceError; type Future (line 93) | type Future = ResponseFuture) -> Poll Self::Future { function spawn_svc (line 117) | fn spawn_svc() -> (EventPublisher, EventSubscriber, Spawn) { function test_decrypt_fail (line 125) | async fn test_decrypt_fail() { function test_decrypt_ok (line 138) | async fn test_decrypt_ok() { FILE: rust/xaynet-server/src/services/messages/error.rs type ServiceError (line 9) | pub enum ServiceError { method from (line 33) | fn from(e: Box) -> Self { method from (line 42) | fn from(e: Box) -> Self { FILE: rust/xaynet-server/src/services/messages/message_parser.rs type RawMessage (line 22) | struct RawMessage { method clone (line 28) | fn clone(&self) -> Self { function from (line 36) | fn from(buffer: MessageBuffer) -> Self { type BufferWrapper (line 46) | struct BufferWrapper(S); type Response (line 54) | type Response = Message; type Error (line 55) | type Error = ServiceError; type Future (line 56) | type Future = BoxedServiceFuture; function poll_ready (line 58) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll Self::Future { type BufferWrapperLayer (line 77) | struct BufferWrapperLayer; type Service (line 80) | type Service = BufferWrapper; method layer (line 82) | fn layer(&self, service: S) -> BufferWrapper { type PhaseFilter (line 89) | struct PhaseFilter { type Response (line 102) | type Response = Message; type Error (line 103) | type Error = ServiceError; type Future (line 104) | type Future = BoxedServiceFuture; function poll_ready (line 106) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { type PhaseFilterLayer (line 128) | struct PhaseFilterLayer { type Service (line 133) | type Service = PhaseFilter; method layer (line 135) | fn layer(&self, service: S) -> PhaseFilter { type SignatureVerifier (line 149) | struct SignatureVerifier { type Response (line 166) | type Response = Message; type Error (line 167) | type Error = ServiceError; type Future (line 168) | type Future = BoxedServiceFuture; function poll_ready (line 170) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { type SignatureVerifierLayer (line 206) | struct SignatureVerifierLayer { type Service (line 211) | type Service = ConcurrencyLimit>; method layer (line 213) | fn layer(&self, service: S) -> Self::Service { type CoordinatorPublicKeyValidator (line 231) | struct CoordinatorPublicKeyValidator { type Response (line 244) | type Response = Message; type Error (line 245) | type Error = ServiceError; type Future (line 246) | type Future = BoxedServiceFuture; function poll_ready (line 248) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll) -> Self::Future { type CoordinatorPublicKeyValidatorLayer (line 275) | struct CoordinatorPublicKeyValidatorLayer { type Service (line 280) | type Service = CoordinatorPublicKeyValidator; method layer (line 282) | fn layer(&self, service: S) -> CoordinatorPublicKeyValidator { type Parser (line 291) | struct Parser; type Response (line 297) | type Response = Message; type Error (line 298) | type Error = ServiceError; type Future (line 299) | type Future = future::Ready>; method poll_ready (line 301) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll) -> Self::Future { type InnerService (line 311) | type InnerService = BufferWrapper< type MessageParser (line 316) | pub struct MessageParser(InnerService); type Response (line 322) | type Response = Message; type Error (line 323) | type Error = ServiceError; type Future (line 324) | type Future = BoxedServiceFuture; method poll_ready (line 326) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll Self::Future { method new (line 337) | pub fn new(events: &EventSubscriber, thread_pool: Arc) -> ... function spawn_svc (line 364) | fn spawn_svc() -> (EventPublisher, EventSubscriber, Spawn) { function test_valid_request (line 372) | async fn test_valid_request() { function test_unexpected_message (line 397) | async fn test_unexpected_message() { FILE: rust/xaynet-server/src/services/messages/mod.rs type PetMessageHandler (line 108) | pub struct PetMessageHandler { method new (line 31) | pub fn new(event_subscriber: &EventSubscriber, requests_tx: RequestSen... method decrypt (line 51) | async fn decrypt(&mut self, enc_data: Vec) -> Result, Serv... method parse (line 56) | async fn parse(&mut self, data: Vec) -> Result Result Result<(), ServiceErr... method handle_message (line 80) | pub async fn handle_message(&mut self, enc_data: Vec) -> Result<()... type BoxedServiceFuture (line 116) | pub type BoxedServiceFuture = std::pin::Pin< FILE: rust/xaynet-server/src/services/messages/multipart/buffer.rs type MultipartMessageBuffer (line 8) | pub struct MultipartMessageBuffer { method from (line 20) | fn from(map: BTreeMap>) -> Self { type Item (line 36) | type Item = u8; method next (line 38) | fn next(&mut self) -> Option { method size_hint (line 58) | fn size_hint(&self) -> (usize, Option) { function test (line 72) | fn test() { FILE: rust/xaynet-server/src/services/messages/multipart/mod.rs type Inner (line 12) | type Inner = Buffer; type MultipartHandler (line 15) | pub struct MultipartHandler(Inner); type Response (line 18) | type Response = Option; type Error (line 19) | type Error = ServiceError; type Future (line 21) | type Future = futures::future::MapErr< method poll_ready (line 26) | fn poll_ready(&mut self, cx: &mut Context<'_>) -> Poll Self::Future { method new (line 36) | pub fn new() -> Self { FILE: rust/xaynet-server/src/services/messages/multipart/service.rs type MessageBuilder (line 26) | pub struct MessageBuilder { method new (line 42) | fn new(tag: Tag, participant_pk: PublicSigningKey, coordinator_pk: Pub... method has_all_chunks (line 54) | fn has_all_chunks(&self) -> bool { method add_chunk (line 64) | fn add_chunk(&mut self, chunk: Chunk) { method into_message (line 75) | fn into_message(self) -> Result { type MessageId (line 98) | pub struct MessageId { type MultipartHandler (line 104) | pub struct MultipartHandler { method new (line 110) | pub fn new() -> Self { type Response (line 118) | type Response = Option; type Error (line 119) | type Error = ServiceError; type Future (line 120) | type Future = Ready>; method poll_ready (line 122) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { function ready_ok (line 182) | fn ready_ok(t: T) -> Ready> { function ready_err (line 186) | fn ready_err(e: E) -> Ready> { function spawn_svc (line 200) | fn spawn_svc() -> Spawn { function sum (line 204) | fn sum() -> (Vec, Sum) { function message_builder (line 221) | fn message_builder() -> MessageBuilder { function chunks (line 228) | fn chunks(mut data: Vec) -> (Chunk, Chunk, Chunk, Chunk, Chunk) { function test_message_builder_in_order (line 291) | fn test_message_builder_in_order() { function test_message_builder_out_of_order (line 332) | fn test_message_builder_out_of_order() { function message_handler (line 373) | async fn message_handler() { FILE: rust/xaynet-server/src/services/messages/state_machine.rs type StateMachine (line 16) | pub struct StateMachine { method new (line 26) | pub fn new(handle: RequestSender) -> Self { type Response (line 32) | type Response = (); type Error (line 33) | type Error = ServiceError; type Future (line 34) | type Future = BoxedServiceFuture; method poll_ready (line 36) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { FILE: rust/xaynet-server/src/services/messages/task_validator.rs type TaskValidator (line 19) | pub struct TaskValidator { method new (line 24) | pub fn new(subscriber: &EventSubscriber) -> Self { type Response (line 32) | type Response = Message; type Error (line 33) | type Error = ServiceError; type Future (line 34) | type Future = future::Ready>; method poll_ready (line 36) | fn poll_ready(&mut self, _cx: &mut Context<'_>) -> Poll Self::Future { function spawn_svc (line 105) | fn spawn_svc() -> (EventPublisher, EventSubscriber, Spawn) { function test_sum_ok (line 112) | async fn test_sum_ok() { function test_sum_not_eligible (line 131) | async fn test_sum_not_eligible() { FILE: rust/xaynet-server/src/services/tests/fetchers.rs function test_model_svc (line 32) | async fn test_model_svc() { function test_round_params_svc (line 54) | async fn test_round_params_svc() { function dummy_seed_dict (line 78) | fn dummy_seed_dict() -> SeedDict { function dummy_update_dict (line 85) | fn dummy_update_dict() -> UpdateSeedDict { function test_seed_dict_svc (line 99) | async fn test_seed_dict_svc() { function dummy_sum_dict (line 120) | fn dummy_sum_dict() -> SumDict { function test_sum_dict_svc (line 134) | async fn test_sum_dict_svc() { FILE: rust/xaynet-server/src/services/tests/utils.rs function mask_config (line 12) | pub fn mask_config() -> MaskConfig { function new_event_channels (line 24) | pub fn new_event_channels() -> (EventPublisher, EventSubscriber) { function new_sum_message (line 43) | pub fn new_sum_message(round_params: &RoundParameters) -> (Message, Sign... function encrypt_message (line 57) | pub fn encrypt_message( function serialize_message (line 66) | pub fn serialize_message(message: &Message, participant_signing_keys: &S... FILE: rust/xaynet-server/src/settings/mod.rs type SettingsError (line 34) | pub enum SettingsError { type Settings (line 45) | pub struct Settings { method new (line 70) | pub fn new(path: impl AsRef) -> Result { method load (line 76) | fn load(path: impl AsRef) -> Result { type PetSettingsCount (line 88) | pub struct PetSettingsCount { type PetSettingsTime (line 98) | pub struct PetSettingsTime { type PetSettingsSum (line 108) | pub struct PetSettingsSum { type PetSettingsUpdate (line 177) | pub struct PetSettingsUpdate { type PetSettingsSum2 (line 251) | pub struct PetSettingsSum2 { type PetSettings (line 308) | pub struct PetSettings { method validate_pet (line 319) | fn validate_pet(&self) -> Result<(), ValidationError> { method validate_counts (line 326) | fn validate_counts(&self) -> Result<(), ValidationError> { method validate_times (line 344) | fn validate_times(&self) -> Result<(), ValidationError> { method validate_probabilities (line 356) | fn validate_probabilities(&self) -> Result<(), ValidationError> { function validate_pet (line 372) | fn validate_pet(s: &PetSettings) -> Result<(), ValidationError> { type ApiSettings (line 387) | pub struct ApiSettings { method validate_api (line 474) | fn validate_api(&self) -> Result<(), ValidationError> { function validate_api (line 484) | fn validate_api(s: &ApiSettings) -> Result<(), ValidationError> { type MaskSettings (line 491) | pub struct MaskSettings { method from (line 558) | fn from( type ModelSettings (line 578) | pub struct ModelSettings { type MetricsSettings (line 599) | pub struct MetricsSettings { type InfluxSettings (line 607) | pub struct InfluxSettings { type RedisSettings (line 644) | pub struct RedisSettings { function deserialize_redis_url (line 665) | fn deserialize_redis_url<'de, D>(deserializer: D) -> Result Self { type LoggingSettings (line 707) | pub struct LoggingSettings { function deserialize_env_filter (line 729) | fn deserialize_env_filter<'de, D>(deserializer: D) -> Result Self { method default (line 792) | fn default() -> Self { function test_settings_new (line 803) | fn test_settings_new() { function test_validate_pet (line 809) | fn test_validate_pet() { function test_validate_pet_counts (line 814) | fn test_validate_pet_counts() { function test_validate_pet_times (line 857) | fn test_validate_pet_times() { function test_validate_pet_probabilities (line 875) | fn test_validate_pet_probabilities() { function test_validate_api (line 895) | fn test_validate_api() { FILE: rust/xaynet-server/src/settings/s3.rs type S3Settings (line 15) | pub struct S3Settings { type S3BucketsSettings (line 88) | pub struct S3BucketsSettings { method default (line 113) | fn default() -> Self { function validate_s3_bucket_name (line 122) | fn validate_s3_bucket_name(bucket_name: &str) -> Result<(), ValidationEr... function deserialize_s3_region (line 142) | fn deserialize_s3_region<'de, D>(deserializer: D) -> Result Result { type ConfigBuilder (line 228) | struct ConfigBuilder { method new (line 233) | fn new() -> Self { method build (line 239) | fn build(self) -> String { method with_log (line 243) | fn with_log(mut self) -> Self { method with_api (line 253) | fn with_api(mut self) -> Self { method with_pet (line 265) | fn with_pet(mut self) -> Self { method with_mask (line 286) | fn with_mask(mut self) -> Self { method with_model (line 299) | fn with_model(mut self) -> Self { method with_metrics (line 309) | fn with_metrics(mut self) -> Self { method with_redis (line 320) | fn with_redis(mut self) -> Self { method with_s3 (line 330) | fn with_s3(mut self) -> Self { method with_s3_buckets (line 342) | fn with_s3_buckets(mut self) -> Self { method with_restore (line 352) | fn with_restore(mut self) -> Self { method with_custom (line 362) | fn with_custom(mut self, custom_config: &str) -> Self { function test_validate_s3_bucket_name (line 369) | fn test_validate_s3_bucket_name() { function test_s3_bucket_name_default (line 390) | fn test_s3_bucket_name_default() { function test_s3_bucket_name_toml_overrides_default (line 412) | fn test_s3_bucket_name_toml_overrides_default() { function test_s3_bucket_name_env_overrides_toml_and_default (line 432) | fn test_s3_bucket_name_env_overrides_toml_and_default() { function test_s3_bucket_name_env_overrides_default (line 454) | fn test_s3_bucket_name_env_overrides_default() { function test_s3_region_toml (line 475) | fn test_s3_region_toml() { function test_s3_custom_region_toml (line 501) | fn test_s3_custom_region_toml() { function test_s3_region_env (line 526) | fn test_s3_region_env() { function test_restore (line 547) | fn test_restore() { function test_s3_custom_region_env (line 571) | fn test_s3_custom_region_env() { FILE: rust/xaynet-server/src/state_machine/coordinator.rs type CountParameters (line 23) | pub struct CountParameters { method from (line 31) | fn from(count: PetSettingsCount) -> Self { type TimeParameters (line 39) | pub struct TimeParameters { method from (line 47) | fn from(time: PetSettingsTime) -> Self { type PhaseParameters (line 55) | pub struct PhaseParameters { method from (line 63) | fn from(sum: PetSettingsSum) -> Self { method from (line 73) | fn from(update: PetSettingsUpdate) -> Self { method from (line 83) | fn from(sum2: PetSettingsSum2) -> Self { type CoordinatorState (line 94) | pub struct CoordinatorState { method new (line 110) | pub fn new( FILE: rust/xaynet-server/src/state_machine/events.rs type Event (line 18) | pub struct Event { type ModelUpdate (line 29) | pub enum ModelUpdate { type DictionaryUpdate (line 36) | pub enum DictionaryUpdate { type EventPublisher (line 43) | pub struct EventPublisher { method init (line 68) | pub fn init( method set_round_id (line 130) | pub fn set_round_id(&mut self, id: u64) { method event (line 134) | fn event(&self, event: T) -> Event { method broadcast_keys (line 142) | pub fn broadcast_keys(&mut self, keys: EncryptKeyPair) { method broadcast_params (line 147) | pub fn broadcast_params(&mut self, params: RoundParameters) { method broadcast_phase (line 152) | pub fn broadcast_phase(&mut self, phase: PhaseName) { method broadcast_model (line 157) | pub fn broadcast_model(&mut self, update: ModelUpdate) { method broadcast_sum_dict (line 162) | pub fn broadcast_sum_dict(&mut self, update: DictionaryUpdate) { method broadcast_seed_dict (line 167) | pub fn broadcast_seed_dict(&mut self, update: DictionaryUpdate EventListener { method params_listener (line 180) | pub fn params_listener(&self) -> EventListener { method phase_listener (line 185) | pub fn phase_listener(&self) -> EventListener { method model_listener (line 190) | pub fn model_listener(&self) -> EventListener { method sum_dict_listener (line 195) | pub fn sum_dict_listener(&self) -> EventListener EventListener(watch::Receiver>); function from (line 212) | fn from(receiver: watch::Receiver>) -> Self { function get_latest (line 221) | pub fn get_latest(&self) -> Event { function changed (line 226) | pub async fn changed(&mut self) -> Result<(), watch::error::RecvError> { type EventBroadcaster (line 233) | pub struct EventBroadcaster(watch::Sender>); function broadcast (line 237) | fn broadcast(&self, event: Event) { function from (line 244) | fn from(sender: watch::Sender>) -> Self { FILE: rust/xaynet-server/src/state_machine/initializer.rs type StateMachineInitializationResult (line 24) | type StateMachineInitializationResult = Result { function new (line 57) | pub fn new( function init_state_machine (line 75) | fn init_state_machine( function init (line 103) | pub async fn init( function from_settings (line 116) | pub(in crate::state_machine) async fn from_settings( function init (line 162) | pub async fn init( function from_previous_state (line 180) | async fn from_previous_state( function try_restore_state (line 199) | async fn try_restore_state( function load_global_model (line 236) | async fn load_global_model( function model_properties_matches_settings (line 275) | fn model_properties_matches_settings( FILE: rust/xaynet-server/src/state_machine/mod.rs type StateMachine (line 124) | pub enum StateMachine { function next (line 155) | pub async fn next(self) -> Option { function run (line 172) | pub async fn run(mut self) -> Option<()> { FILE: rust/xaynet-server/src/state_machine/phases/failure.rs type PhaseError (line 32) | pub enum PhaseError { type Failure (line 49) | pub struct Failure { constant NAME (line 58) | const NAME: PhaseName = PhaseName::Failure; function process (line 60) | async fn process(&mut self) -> Result<(), PhaseError> { function broadcast (line 67) | fn broadcast(&mut self) { function next (line 79) | async fn next(mut self) -> Option> { function new (line 91) | pub fn new(shared: Shared, error: PhaseError) -> Self { function wait_for_store_readiness (line 106) | async fn wait_for_store_readiness(&mut self) { function state_and_events_from_sum2_phase (line 141) | fn state_and_events_from_sum2_phase() -> (CoordinatorState, EventPublish... function error_to_idle_phase (line 155) | async fn error_to_idle_phase() { function test_error_to_shutdown_phase (line 224) | async fn test_error_to_shutdown_phase() { function test_error_to_idle_store_failed (line 284) | async fn test_error_to_idle_store_failed() { function test_error_to_shutdown_skip_store_readiness_check (line 359) | async fn test_error_to_shutdown_skip_store_readiness_check() { FILE: rust/xaynet-server/src/state_machine/phases/handler.rs type Handler (line 19) | pub trait Handler { method handle_request (line 24) | async fn handle_request(&mut self, req: StateMachineRequest) -> Result... type Counter (line 28) | struct Counter { method as_mut (line 42) | fn as_mut(&mut self) -> &mut Self { method new (line 49) | fn new(CountParameters { min, max }: CountParameters) -> Self { method has_enough_messages (line 60) | fn has_enough_messages(&self) -> bool { method has_overmuch_messages (line 65) | fn has_overmuch_messages(&self) -> bool { method increment_accepted (line 70) | fn increment_accepted(&mut self) { method increment_rejected (line 79) | fn increment_rejected(&mut self) { method increment_discarded (line 85) | fn increment_discarded(&mut self) { function process (line 103) | pub(super) async fn process( function process_during (line 138) | async fn process_during( function process_until_enough (line 163) | async fn process_until_enough(&mut self, counter: &mut Counter) -> Resul... function process_single (line 175) | async fn process_single( function test_counter (line 210) | fn test_counter() { FILE: rust/xaynet-server/src/state_machine/phases/idle.rs type IdleError (line 23) | pub enum IdleError { type Idle (line 32) | pub struct Idle; constant NAME (line 39) | const NAME: PhaseName = PhaseName::Idle; function process (line 41) | async fn process(&mut self) -> Result<(), PhaseError> { function broadcast (line 53) | fn broadcast(&mut self) { function next (line 59) | async fn next(self) -> Option> { function new (line 66) | pub fn new(mut shared: Shared) -> Self { function update_round_probabilities (line 79) | fn update_round_probabilities(&mut self) { function update_round_seed (line 85) | fn update_round_seed(&mut self) { function gen_round_keypair (line 105) | fn gen_round_keypair(&mut self) { function broadcast_keys (line 112) | fn broadcast_keys(&mut self) { function broadcast_params (line 120) | fn broadcast_params(&mut self) { function delete_dicts (line 133) | async fn delete_dicts(&mut self) -> Result<(), IdleError> { function set_coordinator_state (line 143) | async fn set_coordinator_state(&mut self) -> Result<(), IdleError> { function broadcast_metrics (line 159) | fn broadcast_metrics(&self) { function state_and_events_from_unmask_phase (line 201) | fn state_and_events_from_unmask_phase() -> (CoordinatorState, EventPubli... function assert_params (line 214) | fn assert_params(params1: &RoundParameters, params2: &RoundParameters) { function assert_after_delete_dict_failure (line 223) | fn assert_after_delete_dict_failure( function test_idle_to_sum_phase (line 268) | async fn test_idle_to_sum_phase() { function test_idle_to_sum_delete_dicts_failed (line 333) | async fn test_idle_to_sum_delete_dicts_failed() { function test_idle_to_sum_save_state_failed (line 382) | async fn test_idle_to_sum_save_state_failed() { FILE: rust/xaynet-server/src/state_machine/phases/phase.rs type PhaseName (line 25) | pub enum PhaseName { type Phase (line 49) | pub trait Phase constant NAME (line 54) | const NAME: PhaseName; method process (line 57) | async fn process(&mut self) -> Result<(), PhaseError>; method broadcast (line 66) | fn broadcast(&mut self) {} method next (line 69) | async fn next(self) -> Option>; type Shared (line 74) | pub struct Shared { function fmt (line 86) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { function new (line 97) | pub fn new( function set_round_id (line 112) | pub fn set_round_id(&mut self, id: u64) { function round_id (line 118) | pub fn round_id(&self) -> u64 { type PhaseState (line 127) | pub struct PhaseState { function run_phase (line 146) | pub async fn run_phase(mut self) -> Option> { function purge_outdated_requests (line 183) | fn purge_outdated_requests(&mut self) -> Result<(), PhaseError> { function next_request (line 200) | pub async fn next_request( function try_next_request (line 210) | pub fn try_next_request( function into_failure_state (line 228) | fn into_failure_state(self, err: PhaseError) -> StateMachine { FILE: rust/xaynet-server/src/state_machine/phases/shutdown.rs type Shutdown (line 14) | pub struct Shutdown; constant NAME (line 21) | const NAME: PhaseName = PhaseName::Shutdown; function process (line 23) | async fn process(&mut self) -> Result<(), PhaseError> { function next (line 31) | async fn next(self) -> Option> { function new (line 38) | pub fn new(shared: Shared) -> Self { function test_shutdown_to_none (line 63) | async fn test_shutdown_to_none() { FILE: rust/xaynet-server/src/state_machine/phases/sum.rs type SumError (line 21) | pub enum SumError { type Sum (line 30) | pub struct Sum { constant NAME (line 41) | const NAME: PhaseName = PhaseName::Sum; function process (line 43) | async fn process(&mut self) -> Result<(), PhaseError> { function broadcast (line 50) | fn broadcast(&mut self) { function next (line 62) | async fn next(self) -> Option> { method handle_request (line 72) | async fn handle_request(&mut self, req: StateMachineRequest) -> Result<(... function new (line 87) | pub fn new(shared: Shared) -> Self { function update_sum_dict (line 100) | async fn update_sum_dict( function sum_dict (line 114) | async fn sum_dict(&mut self) -> Result<(), SumError> { function events_from_idle_phase (line 162) | fn events_from_idle_phase(state: &CoordinatorState) -> (EventPublisher, ... function assert_after_phase_success (line 171) | fn assert_after_phase_success( function assert_after_phase_failure (line 188) | fn assert_after_phase_failure( function test_sum_to_update_phase (line 206) | async fn test_sum_to_update_phase() { function test_sum_phase_timeout (line 261) | async fn test_sum_phase_timeout() { function test_rejected_messages (line 313) | async fn test_rejected_messages() { function test_discarded_messages (line 369) | async fn test_discarded_messages() { function test_request_channel_is_dropped (line 425) | async fn test_request_channel_is_dropped() { function test_sum_to_update_fetch_sum_dict_failed (line 477) | async fn test_sum_to_update_fetch_sum_dict_failed() { function test_sum_to_update_sum_dict_none (line 535) | async fn test_sum_to_update_sum_dict_none() { function test_rejected_messages_pet_error (line 592) | async fn test_rejected_messages_pet_error() { FILE: rust/xaynet-server/src/state_machine/phases/sum2.rs type Sum2 (line 20) | pub struct Sum2 { constant NAME (line 31) | const NAME: PhaseName = PhaseName::Sum2; function process (line 33) | async fn process(&mut self) -> Result<(), PhaseError> { function broadcast (line 37) | fn broadcast(&mut self) { function next (line 49) | async fn next(self) -> Option> { method handle_request (line 59) | async fn handle_request(&mut self, req: StateMachineRequest) -> Result<(... function new (line 74) | pub fn new(shared: Shared, model_agg: Aggregation) -> Self { function update_mask_dict (line 87) | async fn update_mask_dict( function events_from_update_phase (line 133) | fn events_from_update_phase(state: &CoordinatorState) -> (EventPublisher... function assert_after_phase_success (line 142) | fn assert_after_phase_success( function assert_after_phase_failure (line 161) | fn assert_after_phase_failure( function test_sum2_to_unmask_phase (line 179) | async fn test_sum2_to_unmask_phase() { function test_rejected_messages_pet_error (line 237) | async fn test_rejected_messages_pet_error() { FILE: rust/xaynet-server/src/state_machine/phases/unmask.rs type UnmaskError (line 24) | pub enum UnmaskError { type Unmask (line 42) | pub struct Unmask { constant NAME (line 54) | const NAME: PhaseName = PhaseName::Unmask; function process (line 56) | async fn process(&mut self) -> Result<(), PhaseError> { function broadcast (line 68) | fn broadcast(&mut self) { function next (line 79) | async fn next(self) -> Option> { function new (line 86) | pub fn new(shared: Shared, model_agg: Aggregation) -> Self { function freeze_mask_dict (line 97) | async fn freeze_mask_dict( function end_round (line 118) | async fn end_round(&mut self, best_masks: Vec<(MaskObject, u64)>) -> Res... function emit_number_of_unique_masks_metrics (line 138) | fn emit_number_of_unique_masks_metrics(&mut self) { function best_masks (line 160) | async fn best_masks(&mut self) -> Result, UnmaskE... function save_global_model (line 171) | async fn save_global_model(&mut self) -> Result<(), UnmaskError> { function publish_proof (line 204) | async fn publish_proof(&mut self) -> Result<(), UnmaskError> { function events_from_sum2_phase (line 251) | fn events_from_sum2_phase(state: &CoordinatorState) -> (EventPublisher, ... function assert_after_phase_success (line 260) | fn assert_after_phase_success( function assert_after_phase_failure (line 282) | fn assert_after_phase_failure( function init_aggregator (line 299) | fn init_aggregator(state: &CoordinatorState) -> Aggregation { function test_unmask_to_idle_phase (line 309) | async fn test_unmask_to_idle_phase() { function test_unmask_to_idle_phase_best_masks_fails (line 377) | async fn test_unmask_to_idle_phase_best_masks_fails() { function test_unmask_to_idle_phase_no_mask (line 427) | async fn test_unmask_to_idle_phase_no_mask() { function test_unmask_to_idle_phase_ambiguous_masks (line 476) | async fn test_unmask_to_idle_phase_ambiguous_masks() { function test_unmask_to_idle_phase_validate_unmasking_fails (line 533) | async fn test_unmask_to_idle_phase_validate_unmasking_fails() { function test_unmask_to_idle_phase_publish_proof_fails (line 589) | async fn test_unmask_to_idle_phase_publish_proof_fails() { function test_unmask_to_idle_phase_set_global_model_fails (line 674) | async fn test_unmask_to_idle_phase_set_global_model_fails() { function test_unmask_to_idle_phase_set_global_model_id_fails (line 736) | async fn test_unmask_to_idle_phase_set_global_model_id_fails() { FILE: rust/xaynet-server/src/state_machine/phases/update.rs type UpdateError (line 26) | pub enum UpdateError { type Update (line 35) | pub struct Update { constant NAME (line 48) | const NAME: PhaseName = PhaseName::Update; function process (line 50) | async fn process(&mut self) -> Result<(), PhaseError> { function broadcast (line 57) | fn broadcast(&mut self) { function next (line 69) | async fn next(self) -> Option> { method handle_request (line 79) | async fn handle_request(&mut self, req: StateMachineRequest) -> Result<(... function new (line 100) | pub fn new(shared: Shared) -> Self { function update_seed_dict_and_aggregate_mask (line 120) | async fn update_seed_dict_and_aggregate_mask( function add_local_seed_dict (line 159) | async fn add_local_seed_dict( function seed_dict (line 173) | async fn seed_dict(&mut self) -> Result<(), UpdateError> { function events_from_sum_phase (line 223) | fn events_from_sum_phase(state: &CoordinatorState) -> (EventPublisher, E... function assert_after_phase_success (line 232) | fn assert_after_phase_success( function assert_after_phase_failure (line 249) | fn assert_after_phase_failure( function test_update_to_sum2_phase (line 267) | async fn test_update_to_sum2_phase() { function test_update_to_sum2_fetch_seed_dict_failed (line 323) | async fn test_update_to_sum2_fetch_seed_dict_failed() { function test_update_to_sum2_seed_dict_none (line 382) | async fn test_update_to_sum2_seed_dict_none() { function test_aggregation_error (line 440) | async fn test_aggregation_error() { function test_rejected_messages_pet_error (line 497) | async fn test_rejected_messages_pet_error() { FILE: rust/xaynet-server/src/state_machine/requests.rs type RequestError (line 29) | pub enum RequestError { type SumRequest (line 50) | pub struct SumRequest { type UpdateRequest (line 59) | pub struct UpdateRequest { type Sum2Request (line 70) | pub struct Sum2Request { type StateMachineRequest (line 81) | pub enum StateMachineRequest { method from (line 88) | fn from(message: Message) -> Self { type RequestSender (line 120) | pub struct RequestSender(mpsc::UnboundedSender<(StateMachineRequest, Spa... method request (line 130) | pub async fn request(&self, req: StateMachineRequest, span: Span) -> R... method is_closed (line 143) | pub fn is_closed(&self) -> bool { type ResponseSender (line 150) | pub(in crate::state_machine) type ResponseSender = oneshot::Sender (Self, RequestSender) { method close (line 182) | pub fn close(&mut self) { method recv (line 190) | pub async fn recv(&mut self) -> Option<(StateMachineRequest, Span, Res... method try_recv (line 195) | pub fn try_recv(&mut self) -> Option, cx: &mut Context) -> Poll Self { method build (line 19) | pub fn build(self) -> CoordinatorState { method with_keys (line 23) | pub fn with_keys(mut self, keys: EncryptKeyPair) -> Self { method with_round_id (line 29) | pub fn with_round_id(mut self, id: u64) -> Self { method with_sum_probability (line 34) | pub fn with_sum_probability(mut self, prob: f64) -> Self { method with_update_probability (line 39) | pub fn with_update_probability(mut self, prob: f64) -> Self { method with_seed (line 44) | pub fn with_seed(mut self, seed: RoundSeed) -> Self { method with_sum_count_min (line 49) | pub fn with_sum_count_min(mut self, min: u64) -> Self { method with_sum_count_max (line 54) | pub fn with_sum_count_max(mut self, max: u64) -> Self { method with_mask_config (line 59) | pub fn with_mask_config(mut self, mask_config: MaskConfig) -> Self { method with_update_count_min (line 64) | pub fn with_update_count_min(mut self, min: u64) -> Self { method with_update_count_max (line 69) | pub fn with_update_count_max(mut self, max: u64) -> Self { method with_sum2_count_min (line 74) | pub fn with_sum2_count_min(mut self, min: u64) -> Self { method with_sum2_count_max (line 79) | pub fn with_sum2_count_max(mut self, max: u64) -> Self { method with_model_length (line 84) | pub fn with_model_length(mut self, model_length: usize) -> Self { method with_sum_time_min (line 89) | pub fn with_sum_time_min(mut self, min: u64) -> Self { method with_sum_time_max (line 94) | pub fn with_sum_time_max(mut self, max: u64) -> Self { method with_update_time_min (line 99) | pub fn with_update_time_min(mut self, min: u64) -> Self { method with_update_time_max (line 104) | pub fn with_update_time_max(mut self, max: u64) -> Self { method with_sum2_time_min (line 109) | pub fn with_sum2_time_min(mut self, min: u64) -> Self { method with_sum2_time_max (line 114) | pub fn with_sum2_time_max(mut self, max: u64) -> Self { FILE: rust/xaynet-server/src/state_machine/tests/event_bus.rs type EventBusBuilder (line 11) | pub struct EventBusBuilder { method new (line 17) | pub fn new(state: &CoordinatorState) -> Self { method broadcast_phase (line 32) | pub fn broadcast_phase(mut self, phase: PhaseName) -> Self { method broadcast_model (line 37) | pub fn broadcast_model(mut self, update: ModelUpdate) -> Self { method broadcast_sum_dict (line 42) | pub fn broadcast_sum_dict(mut self, update: DictionaryUpdate)... method broadcast_seed_dict (line 47) | pub fn broadcast_seed_dict(mut self, update: DictionaryUpdate (EventPublisher, EventSubscriber) { function test_initial_events (line 58) | fn test_initial_events() { FILE: rust/xaynet-server/src/state_machine/tests/impls.rs method msg (line 13) | pub async fn msg(&self, msg: &Message) -> Result<(), RequestError> { function is_idle (line 19) | pub fn is_idle(&self) -> bool { function into_idle_phase_state (line 23) | pub fn into_idle_phase_state(self) -> PhaseState { function is_sum (line 30) | pub fn is_sum(&self) -> bool { function into_sum_phase_state (line 34) | pub fn into_sum_phase_state(self) -> PhaseState { function is_update (line 41) | pub fn is_update(&self) -> bool { function into_update_phase_state (line 45) | pub fn into_update_phase_state(self) -> PhaseState { function is_sum2 (line 52) | pub fn is_sum2(&self) -> bool { function into_sum2_phase_state (line 56) | pub fn into_sum2_phase_state(self) -> PhaseState { function is_unmask (line 63) | pub fn is_unmask(&self) -> bool { function into_unmask_phase_state (line 67) | pub fn into_unmask_phase_state(self) -> PhaseState { function is_failure (line 74) | pub fn is_failure(&self) -> bool { function into_failure_phase_state (line 78) | pub fn into_failure_phase_state(self) -> PhaseState { function is_shutdown (line 85) | pub fn is_shutdown(&self) -> bool { function into_shutdown_phase_state (line 89) | pub fn into_shutdown_phase_state(self) -> PhaseState { function as_ref (line 98) | fn as_ref(&self) -> &CoordinatorState { function unwrap (line 112) | pub fn unwrap(self) -> std::sync::Arc { FILE: rust/xaynet-server/src/state_machine/tests/initializer.rs function integration_state_machine_initializer_no_restore (line 29) | async fn integration_state_machine_initializer_no_restore() { function integration_state_machine_initializer_no_state (line 63) | async fn integration_state_machine_initializer_no_state() { function integration_state_machine_initializer_without_global_model (line 97) | async fn integration_state_machine_initializer_without_global_model() { function integration_state_machine_initializer_with_global_model (line 144) | async fn integration_state_machine_initializer_with_global_model() { function integration_state_machine_initializer_failed_because_of_wrong_size (line 204) | async fn integration_state_machine_initializer_failed_because_of_wrong_s... function integration_state_machine_initializer_failed_to_find_global_model (line 250) | async fn integration_state_machine_initializer_failed_to_find_global_mod... function integration_state_machine_initializer_reset_state (line 287) | async fn integration_state_machine_initializer_reset_state() { FILE: rust/xaynet-server/src/state_machine/tests/mod.rs constant WARNING (line 12) | const WARNING: &str = "All state machine tests were written assuming the... FILE: rust/xaynet-server/src/state_machine/tests/utils.rs function enable_logging (line 40) | pub fn enable_logging() { function pet_settings (line 47) | pub fn pet_settings() -> PetSettings { function mask_settings (line 66) | pub fn mask_settings() -> MaskSettings { function model_settings (line 75) | pub fn model_settings() -> ModelSettings { function init_shared (line 79) | pub fn init_shared( type EventSnapshot (line 92) | pub struct EventSnapshot { method from (line 102) | fn from(event_subscriber: &EventSubscriber) -> Self { function assert_event_updated_with_id (line 114) | pub fn assert_event_updated_with_id(event1: &Event... function assert_event_updated (line 119) | pub fn assert_event_updated(event1: &Event, eve... function compose_sum_message (line 124) | pub fn compose_sum_message() -> Message { function compose_update_message (line 136) | pub fn compose_update_message(masked_model: MaskObject) -> Message { function compose_sum2_message (line 150) | pub fn compose_sum2_message() -> Message { function send_sum_messages (line 162) | pub fn send_sum_messages(n: u32, request_tx: RequestSender) { function send_sum_messages_with_latch (line 170) | pub fn send_sum_messages_with_latch(n: u32, request_tx: RequestSender, l... function send_sum2_messages (line 181) | pub fn send_sum2_messages(n: u32, request_tx: RequestSender) { function send_update_messages (line 188) | pub fn send_update_messages(n: u32, request_tx: RequestSender) { function send_update_messages_with_model (line 197) | pub fn send_update_messages_with_model( type Readiness (line 214) | pub struct Readiness(mpsc::Receiver<()>); method new (line 222) | pub fn new() -> (Readiness, Latch) { method is_ready (line 227) | pub async fn is_ready(&mut self) { type Latch (line 218) | pub struct Latch(mpsc::Sender<()>); method release (line 234) | pub fn release(self) { function test_initial_settings (line 240) | fn test_initial_settings() { FILE: rust/xaynet-server/src/storage/coordinator_storage/redis/impls.rs function redis_type_error (line 25) | pub fn redis_type_error(desc: &'static str, details: Option) -> ... function error_code_type_error (line 33) | fn error_code_type_error(response: &Value) -> RedisError { type MaskObjectRead (line 155) | pub(crate) struct MaskObjectRead(MaskObject); type MaskObjectWrite (line 160) | pub(crate) struct MaskObjectWrite<'a>(&'a MaskObject); method write_redis_args (line 163) | fn write_redis_args(&self, out: &mut W) type LocalSeedDictWrite (line 173) | pub(crate) struct LocalSeedDictWrite<'a>(&'a LocalSeedDict); method write_redis_args (line 176) | fn write_redis_args(&self, out: &mut W) method from_redis_value (line 196) | fn from_redis_value(v: &Value) -> RedisResult { method from_redis_value (line 209) | fn from_redis_value(v: &Value) -> RedisResult { method from_redis_value (line 222) | fn from_redis_value(v: &Value) -> RedisResult { type SumDictDelete (line 236) | pub struct SumDictDelete(Result<(), SumDictDeleteError>); method into_inner (line 240) | pub fn into_inner(self) -> Result<(), SumDictDeleteError> { type SumDictDeleteError (line 248) | pub enum SumDictDeleteError { method from_redis_value (line 255) | fn from_redis_value(v: &Value) -> RedisResult { FILE: rust/xaynet-server/src/storage/coordinator_storage/redis/mod.rs type Client (line 82) | pub struct Client { method new (line 98) | pub async fn new(url: T) -> Result RedisResult RedisResult { method sum_pks (line 471) | pub async fn sum_pks( method remove_update_participant (line 485) | pub async fn remove_update_participant( method mask_submitted_set (line 497) | pub async fn mask_submitted_set(&mut self) -> RedisResult RedisResult> { method seed_dict_for_sum_pk (line 511) | pub async fn seed_dict_for_sum_pk( method flush_db (line 537) | pub async fn flush_db(&mut self) -> RedisResult<()> { function to_storage_err (line 86) | fn to_storage_err(e: RedisError) -> StorageError { method set_coordinator_state (line 136) | async fn set_coordinator_state(&mut self, state: &CoordinatorState) -> S... method coordinator_state (line 149) | async fn coordinator_state(&mut self) -> StorageResult StorageResult> { method add_local_seed_dict (line 208) | async fn add_local_seed_dict( method seed_dict (line 271) | async fn seed_dict(&mut self) -> StorageResult> { method incr_mask_score (line 303) | async fn incr_mask_score( method best_masks (line 344) | async fn best_masks(&mut self) -> StorageResult StorageResult { method delete_coordinator_data (line 383) | async fn delete_coordinator_data(&mut self) -> StorageResult<()> { method delete_dicts (line 396) | async fn delete_dicts(&mut self) -> StorageResult<()> { method set_latest_global_model_id (line 405) | async fn set_latest_global_model_id(&mut self, global_model_id: &str) ->... method latest_global_model_id (line 418) | async fn latest_global_model_id(&mut self) -> StorageResult StorageResult<()> { function create_redis_client (line 558) | async fn create_redis_client() -> Client { function init_client (line 562) | pub async fn init_client() -> Client { function integration_set_and_get_coordinator_state (line 571) | async fn integration_set_and_get_coordinator_state() { function integration_get_coordinator_empty (line 586) | async fn integration_get_coordinator_empty() { function integration_incr_mask_score (line 598) | async fn integration_incr_mask_score() { function integration_get_incr_mask_count_unknown_sum_pk (line 623) | async fn integration_get_incr_mask_count_unknown_sum_pk() { function integration_get_incr_mask_score_sum_pk_already_submitted (line 643) | async fn integration_get_incr_mask_score_sum_pk_already_submitted() { function integration_get_best_masks_only_one_mask (line 667) | async fn integration_get_best_masks_only_one_mask() { function integration_get_best_masks_two_masks (line 690) | async fn integration_get_best_masks_two_masks() { function integration_get_best_masks_no_mask (line 727) | async fn integration_get_best_masks_no_mask() { function integration_get_number_of_unique_masks_empty (line 738) | async fn integration_get_number_of_unique_masks_empty() { function integration_get_number_of_unique_masks (line 749) | async fn integration_get_number_of_unique_masks() { function integration_sum_dict (line 770) | async fn integration_sum_dict() { function integration_seed_dict (line 826) | async fn integration_seed_dict() { function integration_seed_dict_len_mis_match (line 845) | async fn integration_seed_dict_len_mis_match() { function integration_seed_dict_unknown_sum_participant (line 866) | async fn integration_seed_dict_unknown_sum_participant() { function integration_seed_dict_update_pk_already_submitted (line 889) | async fn integration_seed_dict_update_pk_already_submitted() { function integration_seed_dict_update_pk_already_exists_in_update_seed_dict (line 909) | async fn integration_seed_dict_update_pk_already_exists_in_update_seed_d... function integration_seed_dict_get_seed_dict_for_sum_pk (line 937) | async fn integration_seed_dict_get_seed_dict_for_sum_pk() { function integration_seed_dict_get_seed_dict_for_sum_pk_empty (line 958) | async fn integration_seed_dict_get_seed_dict_for_sum_pk_empty() { function integration_flush_dicts (line 969) | async fn integration_flush_dicts() { function integration_flush_coordinator_data (line 1019) | async fn integration_flush_coordinator_data() { function integration_set_and_get_latest_global_model_id (line 1053) | async fn integration_set_and_get_latest_global_model_id() { function integration_is_ready_ok (line 1068) | async fn integration_is_ready_ok() { function integration_get_latest_global_model_id_empty (line 1079) | async fn integration_get_latest_global_model_id_empty() { FILE: rust/xaynet-server/src/storage/model_storage/noop.rs type NoOp (line 8) | pub struct NoOp; method set_global_model (line 12) | async fn set_global_model( method global_model (line 21) | async fn global_model(&mut self, _id: &str) -> StorageResult StorageResult<()> { FILE: rust/xaynet-server/src/storage/model_storage/s3.rs type ClientResult (line 37) | type ClientResult = Result; type ClientError (line 40) | pub enum ClientError { type Client (line 68) | pub struct Client { method new (line 100) | pub fn new(settings: S3Settings) -> ClientResult { method create_global_models_bucket (line 113) | pub async fn create_global_models_bucket(&self) -> ClientResult<()> { method download_object_body (line 124) | async fn download_object_body(object: GetObjectOutput) -> ClientResult... method fetch_object_meta (line 137) | async fn fetch_object_meta( method upload_object (line 152) | async fn upload_object( method create_bucket (line 168) | async fn create_bucket( method clear_bucket (line 269) | pub async fn clear_bucket(&self, bucket: &str) -> ClientResult<()> { method unpack_object_identifier (line 291) | fn unpack_object_identifier( method delete_objects (line 310) | async fn delete_objects( method list_objects (line 328) | async fn list_objects( method unpack_next_continuation_token (line 347) | fn unpack_next_continuation_token(list_obj_resp: &ListObjectsV2Output)... method delete_bucket (line 360) | async fn delete_bucket(&self, bucket: &str) -> Result<(), RusotoError<... method set_global_model (line 182) | async fn set_global_model( method global_model (line 206) | async fn global_model(&mut self, id: &str) -> StorageResult StorageResult<()> { function create_minio_setup (line 369) | fn create_minio_setup(url: &str) -> S3Settings { function init_client (line 383) | pub async fn init_client() -> Client { function init_disconnected_client (line 391) | async fn init_disconnected_client() -> Client { function integration_test_set_and_get_global_model (line 399) | async fn integration_test_set_and_get_global_model() { function integration_test_get_global_model_non_existent (line 415) | async fn integration_test_get_global_model_non_existent() { function integration_test_global_model_already_exists (line 426) | async fn integration_test_global_model_already_exists() { function integration_test_is_ready_ok (line 453) | async fn integration_test_is_ready_ok() { function integration_test_is_ready_ok_no_such_bucket (line 463) | async fn integration_test_is_ready_ok_no_such_bucket() { function integration_test_is_ready_err (line 478) | async fn integration_test_is_ready_err() { FILE: rust/xaynet-server/src/storage/store.rs type Store (line 32) | pub struct Store function new_with_trust_anchor (line 52) | pub fn new_with_trust_anchor(coordinator: C, model: M, trust_anchor: T) ... function new (line 67) | pub fn new(coordinator: C, model: M) -> Self { method set_coordinator_state (line 83) | async fn set_coordinator_state(&mut self, state: &CoordinatorState) -> S... method coordinator_state (line 87) | async fn coordinator_state(&mut self) -> StorageResult StorageResult> { method add_local_seed_dict (line 103) | async fn add_local_seed_dict( method seed_dict (line 113) | async fn seed_dict(&mut self) -> StorageResult> { method incr_mask_score (line 117) | async fn incr_mask_score( method best_masks (line 125) | async fn best_masks(&mut self) -> StorageResult StorageResult { method delete_coordinator_data (line 133) | async fn delete_coordinator_data(&mut self) -> StorageResult<()> { method delete_dicts (line 137) | async fn delete_dicts(&mut self) -> StorageResult<()> { method set_latest_global_model_id (line 141) | async fn set_latest_global_model_id(&mut self, id: &str) -> StorageResul... method latest_global_model_id (line 145) | async fn latest_global_model_id(&mut self) -> StorageResult StorageResult<()> { method set_global_model (line 161) | async fn set_global_model( method global_model (line 172) | async fn global_model(&mut self, id: &str) -> StorageResult StorageResult<()> { method publish_proof (line 188) | async fn publish_proof(&mut self, global_model: &Model) -> StorageResult... method is_ready (line 192) | async fn is_ready(&mut self) -> StorageResult<()> { method is_ready (line 204) | async fn is_ready(&mut self) -> StorageResult<()> { FILE: rust/xaynet-server/src/storage/tests/mod.rs function init_store (line 32) | pub async fn init_store() -> impl Storage { FILE: rust/xaynet-server/src/storage/tests/utils.rs function create_sum_participant_entry (line 18) | pub fn create_sum_participant_entry() -> (SumParticipantPublicKey, SumPa... function create_local_seed_entries (line 27) | pub fn create_local_seed_entries( function create_mask_zeroed (line 48) | pub fn create_mask_zeroed(model_length: usize) -> MaskObject { function create_mask (line 57) | pub fn create_mask(model_length: usize, number: u32) -> MaskObject { function create_seed_dict (line 66) | pub fn create_seed_dict( function create_and_add_sum_participant_entries (line 84) | pub async fn create_and_add_sum_participant_entries( function add_local_seed_entries (line 99) | pub async fn add_local_seed_entries( function create_global_model (line 116) | pub fn create_global_model(model_length: usize) -> Model { FILE: rust/xaynet-server/src/storage/traits.rs type StorageError (line 24) | pub type StorageError = anyhow::Error; type StorageResult (line 27) | pub type StorageResult = Result; type CoordinatorStorage (line 31) | pub trait CoordinatorStorage method set_coordinator_state (line 41) | async fn set_coordinator_state(&mut self, state: &CoordinatorState) ->... method coordinator_state (line 49) | async fn coordinator_state(&mut self) -> StorageResult StorageResult>; method add_local_seed_dict (line 83) | async fn add_local_seed_dict( method seed_dict (line 95) | async fn seed_dict(&mut self) -> StorageResult>; method incr_mask_score (line 106) | async fn incr_mask_score( method best_masks (line 123) | async fn best_masks(&mut self) -> StorageResult StorageResult; method delete_coordinator_data (line 130) | async fn delete_coordinator_data(&mut self) -> StorageResult<()>; method delete_dicts (line 133) | async fn delete_dicts(&mut self) -> StorageResult<()>; method set_latest_global_model_id (line 142) | async fn set_latest_global_model_id(&mut self, id: &str) -> StorageRes... method latest_global_model_id (line 150) | async fn latest_global_model_id(&mut self) -> StorageResult StorageResult<()>; type ModelStorage (line 164) | pub trait ModelStorage method set_global_model (line 175) | async fn set_global_model( method global_model (line 188) | async fn global_model(&mut self, id: &str) -> StorageResult St... method is_ready (line 207) | async fn is_ready(&mut self) -> StorageResult<()>; type TrustAnchor (line 212) | pub trait TrustAnchor method publish_proof (line 222) | async fn publish_proof(&mut self, global_model: &Model) -> StorageResu... method is_ready (line 231) | async fn is_ready(&mut self) -> StorageResult<()>; type Storage (line 235) | pub trait Storage: CoordinatorStorage + ModelStorage + TrustAnchor { method is_ready (line 245) | async fn is_ready(&mut self) -> StorageResult<()>; type SumPartAdd (line 250) | pub struct SumPartAdd(pub(crate) Result<(), SumPartAddError>); method into_inner (line 254) | pub fn into_inner(self) -> Result<(), SumPartAddError> { type SumPartAddError (line 262) | pub enum SumPartAddError { type LocalSeedDictAdd (line 269) | pub struct LocalSeedDictAdd(pub(crate) Result<(), LocalSeedDictAddError>); method into_inner (line 273) | pub fn into_inner(self) -> Result<(), LocalSeedDictAddError> { type LocalSeedDictAddError (line 281) | pub enum LocalSeedDictAddError { type MaskScoreIncr (line 294) | pub struct MaskScoreIncr(pub(crate) Result<(), MaskScoreIncrError>); method into_inner (line 298) | pub fn into_inner(self) -> Result<(), MaskScoreIncrError> { type MaskScoreIncrError (line 306) | pub enum MaskScoreIncrError { FILE: rust/xaynet-server/src/storage/trust_anchor/noop.rs type NoOp (line 6) | pub struct NoOp; method publish_proof (line 10) | async fn publish_proof(&mut self, _global_model: &Model) -> StorageResul... method is_ready (line 14) | async fn is_ready(&mut self) -> StorageResult<()> {