Skip to main content

progress_update

Function progress_update 

Source
pub fn progress_update(
    id: impl AsRef<str>,
    label: Option<&str>,
    percent: Option<u8>,
)
Expand description

Update an in-flight progress. label and percent are both optional — pass None to keep the previous value. Percent clamps to 0..=100 host-side.