pub trait ProxyPublicationAuthority:
Send
+ Sync
+ 'static {
// Required method
fn publish(&self, operation: &mut dyn FnMut() -> Result<()>) -> Result<()>;
}Expand description
Authority hook which atomically validates and publishes one response head.
Implementations must hold the same exclusion boundary used by policy,
lifecycle, and generation invalidation for the complete publish
operation. The operation is intentionally limited to the sanitized
response head; streaming bodies and tunnels retain their own cancellation
and freshness checks.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".