Trait ServerConfigUseCase
Source pub trait ServerConfigUseCase {
// Required methods
fn add_server<'life0, 'async_trait>(
&'life0 self,
server_config: ServerConfig,
) -> Pin<Box<dyn Future<Output = Result<(), Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn list_server<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<Vec<ServerConfig>, Box<dyn Error + Send + Sync>>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}