Trait mock_verifier::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§
sourcefn verify(
&self,
options: VerifyOptions
) -> BoxFuture<'static, VerifierVerifyResult>
fn verify( &self, options: VerifyOptions ) -> BoxFuture<'static, VerifierVerifyResult>
Describes what the verify call will return.