pub trait SandboxProvider: Send + Sync {
// Required methods
fn ensure_host<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 EnsureHostRequest,
) -> Pin<Box<dyn Future<Output = Result<ActorHostHandle>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn warm_image<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 WarmImageRequest,
) -> Pin<Box<dyn Future<Output = Result<ImageWarmup>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn terminate_hosts<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 TerminateHostsRequest,
) -> Pin<Box<dyn Future<Output = Result<HostTermination>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
}Required Methods§
fn ensure_host<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 EnsureHostRequest,
) -> Pin<Box<dyn Future<Output = Result<ActorHostHandle>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn warm_image<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 WarmImageRequest,
) -> Pin<Box<dyn Future<Output = Result<ImageWarmup>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn terminate_hosts<'life0, 'life1, 'async_trait>(
&'life0 self,
request: &'life1 TerminateHostsRequest,
) -> Pin<Box<dyn Future<Output = Result<HostTermination>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".