pub trait RecalcBackend: Send + Sync {
// Required methods
fn recalculate<'life0, 'life1, 'async_trait>(
&'life0 self,
fork_work_path: &'life1 Path,
timeout_ms: Option<u64>,
) -> Pin<Box<dyn Future<Output = Result<RecalcResult>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait;
fn is_available(&self) -> bool;
fn name(&self) -> &'static str;
}Required Methods§
fn recalculate<'life0, 'life1, 'async_trait>(
&'life0 self,
fork_work_path: &'life1 Path,
timeout_ms: Option<u64>,
) -> Pin<Box<dyn Future<Output = Result<RecalcResult>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn is_available(&self) -> bool
fn name(&self) -> &'static str
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".