[−][src]Trait pact_verifier::callback_executors::ProviderStateExecutor
Trait for executors that call provider state callbacks
Required methods
fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
interaction_id: Option<String>,
provider_state: &'life1 ProviderState,
setup: bool,
client: Option<&'life2 Client>
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Value>, ProviderStateError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
&'life0 self,
interaction_id: Option<String>,
provider_state: &'life1 ProviderState,
setup: bool,
client: Option<&'life2 Client>
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Value>, ProviderStateError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
Invoke the callback for the given provider state, returning an optional Map of values
Implementors
impl ProviderStateExecutor for HttpRequestProviderStateExecutor
[src]
fn call<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
interaction_id: Option<String>,
provider_state: &'life1 ProviderState,
setup: bool,
client: Option<&'life2 Client>
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Value>, ProviderStateError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,
[src]
&'life0 self,
interaction_id: Option<String>,
provider_state: &'life1 ProviderState,
setup: bool,
client: Option<&'life2 Client>
) -> Pin<Box<dyn Future<Output = Result<HashMap<String, Value>, ProviderStateError>> + Send + 'async_trait>> where
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Self: 'async_trait,