Module status
HTTP status codes
This module contains HTTP-status code related structs an errors. The main
type in this module is StatusCode which is not intended to be used through
this module but rather the http::StatusCode type.
Examples
use StatusCode;
assert_eq!;
assert_eq!;
assert!;
Structs
-
InvalidStatusCode
A possible error value when converting a
StatusCodefrom au16or&str. -
StatusCode
An HTTP status code (
status-codein RFC 9110 et al.).