Expand description
The Policy is used to ensure transactions comply with the rules configured in the
PolicyMiddleware before sending them.
Structs§
- Allow
Everything - A policy that does not restrict anything.
- Policy
Middleware - Middleware used to enforce certain policies for transactions.
- Reject
Everything - A policy that rejects all transactions.
Enums§
- Policy
Middleware Error - 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.