block • Rust AI Agent SDK
block: Create a blocking result.
block
Method
</div>
This is a method of the PolicyResult class in the policy module.
Create a blocking result.
Signature
def block(rule: impl Into<String>, message: impl Into<String>) -> SelfParameters
ParamField
impl Into<String>No description available.
ParamField
impl Into<String>No description available.
Returns
ResponseField
SelfThe result of the operation.