Skip to main content

Callback

Type Alias Callback 

Source
pub type Callback = Box<dyn FnMut(Response) + Send + 'static>;
Expand description

Receives a request’s responses, on the thread that sends each one.

Aliased Type§

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