Skip to content

CargoTomlHandler

CargoTomlHandler<C> = (toml, args) => Operation<PolicyHandlerResult> | Promise<PolicyHandlerResult>

Defined in: policyDefiners/defineCargoPolicy.ts:28

A policy handler for Cargo.toml policies.

C

CargoToml

PolicyArgs<C>

Operation<PolicyHandlerResult> | Promise<PolicyHandlerResult>

Receives the parsed TOML content and the standard policy arguments.