pub fn CheckSideCarHealth(SideCarIdentifier: &str) -> Result<bool, VineError>Expand description
Checks the health status of a connected sidecar.
Health is determined by:
- Connection exists in the pool
- Last activity within health check interval
- Failure count below threshold
§Parameters
SideCarIdentifier: Unique identifier of the sidecar to check
§Returns
Ok(true): Sidecar is healthy and responsiveOk(false): Sidecar exists but may have issuesErr(VineError): Sidecar not connected
§Example
let healthy = CheckSideCarHealth("cocoon-main")?;