Skip to main content

stage_to_string

Function stage_to_string 

Source
pub fn stage_to_string<S: ProgressStage>(stage: &S) -> String
Expand description

Helper to get string representation of a progress stage via serde.

ยงPanics

Panics if the stage cannot be serialized to a string. This should never happen with properly implemented ProgressStage types.