Function rocket::mtls::x509::der_parser::asn1_rs::nom::character::is_space

source ·
pub fn is_space(chr: u8) -> bool
Available on crate feature mtls only.
Expand description

Tests if byte is ASCII space or tab

§Example

assert_eq!(is_space(b'\n'), false);
assert_eq!(is_space(b'\r'), false);
assert_eq!(is_space(b' '), true);
assert_eq!(is_space(b'\t'), true);