Skip to main content

bounded_text

Function bounded_text 

Source
pub fn bounded_text(
    text: &str,
    bytes: usize,
) -> Result<RenderedText, RenderError>
Expand description

Bound a retained diagnostic field before copying it into a response.