mock_verifier

Trait Hook

Source
pub trait Hook: Send + Sync {
    // Required method
    fn verify(
        &self,
        options: VerifyOptions,
    ) -> BoxFuture<'static, VerifierVerifyResult>;
}
Expand description

A call hook that can be used to inject responses into the Verifier service.

Required Methods§

Source

fn verify( &self, options: VerifyOptions, ) -> BoxFuture<'static, VerifierVerifyResult>

Describes what the verify call will return.

Implementors§