Skip to main content

announce

Function announce 

Source
fn announce(
    on_progress: &mut (dyn FnMut(Progress) -> ControlFlow<()> + '_),
    progress: Progress,
) -> Result<(), Error>
Expand description

Hand one progress event to the caller, turning a Break into the error that unwinds the whole operation.