pub trait AttestationProvider:
Debug
+ Send
+ Sync {
// Required method
fn header_for_request(
&self,
context: AttestationContext,
) -> GenerateAttestationFuture<'_>;
}Expand description
Host integration boundary for just-in-time attestation header values.
Implementations own the policy for when attestation should be attempted and
return the upstream x-oai-attestation header value when one should be sent.
Required Methods§
fn header_for_request( &self, context: AttestationContext, ) -> GenerateAttestationFuture<'_>
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".