Trait EnvironmentManager
Source pub trait EnvironmentManager:
Send
+ Sync
+ Debug {
// Required methods
fn create_environment<'life0, 'async_trait>(
&'life0 self,
request: CreateEnvironmentRequest,
) -> Pin<Box<dyn Future<Output = EnvironmentManagerResult<EnvironmentDescriptor>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn get_environment<'life0, 'async_trait>(
&'life0 self,
environment_id: EnvironmentId,
) -> Pin<Box<dyn Future<Output = EnvironmentManagerResult<EnvironmentDescriptor>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn delete_environment<'life0, 'async_trait>(
&'life0 self,
environment_id: EnvironmentId,
policy: EnvironmentDeletePolicy,
) -> Pin<Box<dyn Future<Output = EnvironmentManagerResult<()>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
fn environment_info<'life0, 'async_trait>(
&'life0 self,
environment_id: EnvironmentId,
) -> Pin<Box<dyn Future<Output = EnvironmentManagerResult<EnvironmentInfo>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait;
}