pub trait WebhookSecretResolver:
Send
+ Sync
+ 'static {
// Required method
fn resolve(&self) -> Option<Vec<u8>>;
}Expand description
Pluggable resolver that turns the operator’s
triggers.webhook_secret_ref value into the raw bytes used as the
HMAC key. Production maps env:<NAME> to $NAME, but tests
substitute an in-process stub so they don’t have to mutate the
environment.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".