Trait testdrive::action::Action [−][src]
pub trait Action {
fn undo<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 mut State
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
fn redo<'life0, 'life1, 'async_trait>(
&'life0 self,
state: &'life1 mut State
) -> Pin<Box<dyn Future<Output = Result<(), Error>> + Send + 'async_trait>>
where
'life0: 'async_trait,
'life1: 'async_trait,
Self: 'async_trait;
}