Skip to main content

Handler

Type Alias Handler 

Source
pub type Handler<T> = Box<dyn FnMut(&str, &Url, bool) -> Reply<T> + Send>;
Expand description

Answers one request, given its method, its URL and whether the sign-in is already handled: an earlier reply ended the wait, or the waiter cancelled it.

Aliased Typeยง

pub struct Handler<T>(/* private fields */);