Skip to main content

ProgressSink

Type Alias ProgressSink 

Source
pub type ProgressSink = Box<dyn Fn(&str) + Send + Sync + 'static>;
Expand description

Caller-supplied progress sink. Bake invokes this with the post-bake summary line and (when BakeOptions::verbose_timing is true) with per-phase timing. Separate from WarnSink so consumers can route “info” output and warnings to different places.

Aliased Type§

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