pub trait ProviderAdapter:
Send
+ Sync
+ 'static {
// Required methods
fn name(&self) -> &'static str;
fn matches_path(&self, method: &Method, path: &str) -> bool;
fn upstream_base(&self) -> &Url;
fn request_pii_surfaces<'a>(
&self,
body: &'a mut Value,
) -> Vec<PiiSurface<'a>>;
fn response_pii_surfaces<'a>(
&self,
body: &'a mut Value,
) -> Vec<PiiSurface<'a>>;
fn sse_event_pii_surfaces<'a>(
&self,
event: &'a mut SseEvent,
) -> Vec<PiiSurface<'a>>;
}