Skip to main content

text

Function text 

Source
pub(super) fn text(
    status: StatusCode,
    text: impl Into<String>,
) -> Response<Body>
Expand description

A response with a plain text, which tells the client what went wrong.