pub trait ApprovalHandler: Send + Sync {
// Required method
fn handle<'a>(&'a self, request: &'a ServerRequest) -> ApprovalFuture<'a>;
}Expand description
Policy hook for server-to-client app-server requests.
Implementations return a future so human-in-the-loop UI, channels, or other async policy engines can decide without blocking a Tokio worker while the session drains app-server events.