pub const fn is_tchar(b: u8) -> bool
Whether b is a tchar, a byte allowed in a token (RFC 9110 section 5.6.2).
b
tchar
assert!(parse_net::class::is_tchar(b'~')); assert!(!parse_net::class::is_tchar(b'('));