Skip to main content

OutputCallback

Type Alias OutputCallback 

Source
pub type OutputCallback = Box<dyn FnMut(&str) + Send>;
Expand description

Called with each piece of a stream’s output, as text, as it’s written.

Aliased Type§

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