Skip to main content

Poller

Type Alias Poller 

Source
pub type Poller = Box<dyn FnMut(&mut Ctx<'_>) -> Option<Result<Outcome, String>> + Send>;
Expand description

See Outcome::Poll: None = not yet, Some(result) = the reply.

Aliased Type§

pub struct Poller(/* private fields */);