Skip to main content

truncate_value

Function truncate_value 

Source
pub fn truncate_value(v: &TraceValue, max: usize) -> (TraceValue, bool)
Expand description

Cut every string of v to at most max bytes; other values are left as they are. True when any bytes were removed.