On Failover • Rust AI Agent SDK
on_failover: Register a callback for failover events.
on_failover
Method
</div>
This is a method of the FailoverManager class in the failover module.
Register a callback for failover events.
Signature
def on_failover(&mut self, callback: FailoverCallback) -> ()Parameters
ParamField
FailoverCallbackNo description available.
Returns
ResponseField
()The result of the operation.