/// Executes the probe with the given parameters and deadline.
///
/// Probes only return an error (consisting of an HTTP error status and a
/// text message) if the provided parameters are invalid of if they
/// encounter an internal error. In all other situations (e.g. exceeded
/// deadline or probe target error) the probe will return a metrics
/// registry containing metrics reflecting the specific outcome.
Executes the probe with the given parameters and deadline.
Probes only return an error (consisting of an HTTP error status and a
text message) if the provided parameters are invalid of if they
encounter an internal error. In all other situations  the probe will return a metrics
registry containing metrics reflecting the specific outcome.
Executes the probe with the given parameters and deadline . Probes only return an error ( consisting of an HTTP error status and a text message ) if the provided parameters are invalid of if they encounter an internal error . In all other situations the probe will return a metrics registry containing metrics reflecting the specific outcome .
pub async fn run(
        &self,
        params: ParamIterator<'_>,
        deadline: Instant,
        log: &Logger,
    ) -> ProbeResult {
        match self {
            Probe::Http => http::probe(params, deadline).await,
            Probe::Ic => ic::probe(params, deadline, log).await,
        }
    }
pub async fn run ( & self , params : ParamIterator < ' _ > , deadline : Instant , log : & Logger , ) -> ProbeResult { match self { Probe :: Http => http :: probe ( params , deadline ) . await , Probe :: Ic => ic :: probe ( params , deadline , log ) . await , } }
Executes the probe with the given parameters and deadline.
Executes the probe with the given parameters and deadline .
&self
params
ParamIterator<'_>
deadline
Instant
log
&Logger