[−][src]Trait xaynet_sdk::ModelStore
A trait used by the StateMachine
to load the model trained by
the participant, when it has been selected for the update task.
Associated Types
Loading content...Required methods
#[must_use]pub fn load_model<'life0, 'async_trait>(
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Self::Model>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
[src]
&'life0 mut self
) -> Pin<Box<dyn Future<Output = Result<Option<Self::Model>, Self::Error>> + Send + 'async_trait>> where
'life0: 'async_trait,
Self: 'async_trait,
Attempt to load the model. If the model is not yet available,
Ok(None)
should be returned.