Module policy

Source
Expand description

The Policy is used to ensure transactions comply with the rules configured in the PolicyMiddleware before sending them.

Structs§

AllowEverything
A policy that does not restrict anything.
PolicyMiddleware
Middleware used to enforce certain policies for transactions.
RejectEverything
A policy that rejects all transactions.

Enums§

PolicyMiddlewareError
Error thrown when the client interacts with the policy middleware.

Traits§

Policy
Basic trait to ensure that transactions about to be sent follow certain rules.