Trait linera_service::cli_wrappers::LineraNetConfig

source ·
pub trait LineraNetConfig {
    type Net: LineraNet + Sized + Send + Sync + 'static;

    // Required method
    fn instantiate<'async_trait>(
        self,
    ) -> Pin<Box<dyn Future<Output = Result<(Self::Net, ClientWrapper)>> + Send + 'async_trait>>
       where Self: 'async_trait;
}
Expand description

The information needed to start a Linera net of a particular kind.

Required Associated Types§

source

type Net: LineraNet + Sized + Send + Sync + 'static

Required Methods§

source

fn instantiate<'async_trait>( self, ) -> Pin<Box<dyn Future<Output = Result<(Self::Net, ClientWrapper)>> + Send + 'async_trait>>
where Self: 'async_trait,

Implementors§