Trait pact_verifier::callback_executors::ProviderStateExecutor[][src]

pub trait ProviderStateExecutor {
    fn call<'life0, 'life1, 'async_trait>(
        self: Arc<Self>,
        interaction_id: Option<String>,
        provider_state: &'life0 ProviderState,
        setup: bool,
        client: Option<&'life1 Client>
    ) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Value>, ProviderStateError>> + Send + 'async_trait>>
    where
        'life0: 'async_trait,
        'life1: 'async_trait,
        Self: 'async_trait
; }
Expand description

Trait for executors that call provider state callbacks

Required methods

Invoke the callback for the given provider state, returning an optional Map of values

Implementors