Skip to main content

ProbeFuture

Type Alias ProbeFuture 

Source
pub type ProbeFuture<'a> = Pin<Box<dyn Future<Output = Result<Option<ProbeResult>, ProbeError>> + Send + 'a>>;
Expand description

Future returned by PollingProbe::poll.

Returns Ok(Some(result)) when data is found, Ok(None) when the source has nothing to report, or Err on failure.

Aliased Typeยง

#[repr(transparent)]
pub struct ProbeFuture<'a> { /* private fields */ }