pub trait ProcessExecutionEnvStore: Send + Sync {
// Required methods
fn put_process_execution_env<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
env_ref: &'life1 ProcessExecutionEnvRef,
bytes: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<(), PluginError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn get_process_execution_env<'life0, 'life1, 'async_trait>(
&'life0 self,
env_ref: &'life1 ProcessExecutionEnvRef,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, PluginError>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
// Provided method
fn durability_tier(&self) -> DurabilityTier { ... }
}Required Methods§
fn put_process_execution_env<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
env_ref: &'life1 ProcessExecutionEnvRef,
bytes: &'life2 [u8],
) -> Pin<Box<dyn Future<Output = Result<(), PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn get_process_execution_env<'life0, 'life1, 'async_trait>(
&'life0 self,
env_ref: &'life1 ProcessExecutionEnvRef,
) -> Pin<Box<dyn Future<Output = Result<Option<Vec<u8>>, PluginError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
Provided Methods§
fn durability_tier(&self) -> DurabilityTier
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".