BackendExt

Traitin experimentalfastly 0.13.1View source
pub trait BackendExt {
// Required method
fn is_healthy(&self) -> Result<BackendHealth, Error>;
}

An extension trait for experimental Backend methods.

Methods

is_healthy

View source
fn is_healthy(&self) -> Result<BackendHealth, Error>

Return the health of the backend if configured and currently known.

For backends without a configured healthcheck, this will always return Unknown.

Parameters

self: &Self

Returns