MAX_UTF8_ATTEMPTS

Constant MAX_UTF8_ATTEMPTS 

Source
pub const MAX_UTF8_ATTEMPTS: usize = 4; // 4usize
Expand description

The maximum number of attempts to decode a UTF-8 character. This constant specifies the maximum number of bytes that can be/// part of a single UTF-8 character.