pub trait PolicySource:
Send
+ Sync
+ 'static {
// Required method
fn fetch(&self) -> BoxFuture<'_, Result<PolicySet, String>>;
}Expand description
External policy origin (rules file, OPA bundle endpoint, DB) — the app
implements it; a background watcher feeds PolicyEngine::reload.
Required Methods§
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".