Skip to main content

bounded

Function bounded 

Source
pub fn bounded(s: &str) -> &str
Expand description

Truncate an identifier to MAX_ATTR_CHARS bytes on a char boundary. Every string that becomes a span attribute passes through here so a pathological config value stays bounded.