pub(crate) trait State:
Sync
+ Send
+ Debug
+ Serialize
+ Deserialize {
// Required methods
fn next<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: &'life1 mut ReconcileCatalogContext,
procedure_ctx: &'life2 ProcedureContext,
) -> Pin<Box<dyn Future<Output = Result<(Box<dyn State>, Status)>> + Send + 'async_trait>>
where Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait;
fn as_any(&self) -> &dyn Any;
// Provided method
fn name(&self) -> &'static str { ... }
}Required Methods§
fn next<'life0, 'life1, 'life2, 'async_trait>(
&'life0 mut self,
ctx: &'life1 mut ReconcileCatalogContext,
procedure_ctx: &'life2 ProcedureContext,
) -> Pin<Box<dyn Future<Output = Result<(Box<dyn State>, Status)>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn as_any(&self) -> &dyn Any
Provided Methods§
Trait Implementations§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".